def fixed_point(func, x0, args=(), xtol=1e-08, maxiter=500, method='del2'):
 use_accel = {'del2': True, 'iteration': False}[method]
 x0 = _asarray_validated(x0, as_inexact=True)
 return _fixed_point_helper(func, x0, args, xtol, maxiter, use_accel)

def fixed_point ( func , x0 , args = ( ) , xtol = 1e-08 , maxiter = 500 , method = 'del2' ) : use_accel = { 'del2' : True , 'iteration' : False } [ method ] x0 = _asarray_validated ( x0 , as_inexact = True ) return _fixed_point_helper ( func , x0 , args , xtol , maxiter , use_accel )
find a fixed point of the function .