def findRoots(*args): """ findRoots(PyObject * startVals, int iter) -> PyObject * Performs unconstrained root finding for up to iter iterations Return values is a tuple indicating: (0,x,n) : convergence reached in x (1,x,n) : convergence reached in f (2,x,n) : divergence (3,x,n) : degeneration of gradient (local extremum or saddle point) (4,x,n) : maximum iterations reached (5,x,n) : numerical error occurred where x is the final point and n is the number of iterations used """ return _rootfind.findRoots(*args)
def findRoots(startVals, iter): """ findRoots(PyObject * startVals, int iter) -> PyObject * Performs unconstrained root finding for up to iter iterations Returns: status,x,n (tuple of int, list of floats, int): where status indicates the return code, as follows: - 0: convergence reached in x - 1: convergence reached in f - 2: divergence - 3: degeneration of gradient (local extremum or saddle point) - 4: maximum iterations reached - 5: numerical error occurred and x is the final point and n is the number of iterations used """ return _rootfind.findRoots(startVals, iter)
def findRoots(startVals, iter): """ Performs unconstrained root finding for up to iter iterations Args: startVals (:obj:`object`) iter (int) Returns: status,x,n (tuple of int, list of floats, int): where status indicates the return code, as follows: - 0: convergence reached in x - 1: convergence reached in f - 2: divergence - 3: degeneration of gradient (local extremum or saddle point) - 4: maximum iterations reached - 5: numerical error occurred and x is the final point and n is the number of iterations used """ return _rootfind.findRoots(startVals, iter)
def findRoots(*args): return _rootfind.findRoots(*args)