N positive entries that serve as a scale factors for the factor float, optionalĪ parameter determining the initial step bound That the relative errors in the functions are of the order of ![]() IfĮpsfcn is less than the machine precision, it is assumed epsfcn float, optionalĪ suitable step length for the forward-differenceĪpproximation of the Jacobian (for fprime=None). Jacobi matrix is considered banded (only for fprime=None). Super-diagonals within the band of the Jacobi matrix, the If set to a two-sequence containing the number of sub- and If zero, thenġ00*(N+1) is the maximum where N is the number of elements The maximum number of calls to the function. The calculation will terminate if the relative error between twoĬonsecutive iterates is at most xtol. The columns (faster, because there is no transpose operation). ![]() Specify whether the Jacobian function computes derivatives down By default, the Jacobian will be estimated. fprime callable f(x, *args), optionalĪ function to compute the Jacobian of func with derivativesĪcross the rows. ![]() args tuple, optionalĪny extra arguments to func. The starting estimate for the roots of func(x) = 0. Parameters : func callable f(x, *args)Ī function that takes at least one (possibly vector) argument,Īnd returns a value of the same length. Return the roots of the (non-linear) equations defined byįunc(x) = 0 given a starting estimate. ![]() fsolve ( func, x0, args = (), fprime = None, full_output = 0, col_deriv = 0, xtol = 1.49012e-08, maxfev = 0, band = None, epsfcn = None, factor = 100, diag = None ) #
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |