[SciPy-user] help about a function to solve no linear equations
Nils Wagner
nwagner at iam.uni-stuttgart.de
Tue Apr 22 16:45:49 EDT 2008
On Tue, 22 Apr 2008 13:38:54 -0700
"Jose Lopez" <lopmart at gmail.com> wrote:
> hi
>
> somebody know, any function at scipy for solver system
>no linear equations?
>
> thanks
> atte JL
scipy.optimize.fsolve
fsolve(func, x0, args=(), fprime=None, full_output=0,
col_deriv=0, xtol=1.49012e-08, maxfev=0, band=None,
epsfcn=0.0, fact
or=100, diag=None, warning=True)
Find the roots of a function.
Description:
Return the roots of the (non-linear) equations
defined by
func(x)=0 given a starting estimate.
Inputs:
func -- A Python function or method which takes at
least one
(possibly vector) argument.
x0 -- The starting estimate for the roots of
func(x)=0.
args -- Any extra arguments to func are placed in
this tuple.
fprime -- A function or method to compute the
Jacobian of func with
derivatives across the rows. If this is
None, the
Jacobian will be estimated.
full_output -- non-zero to return the optional
outputs.
col_deriv -- non-zero to specify that the Jacobian
function
computes derivatives down the columns
(faster, because
there is no transpose operation).
warning -- True to print a warning message when the
call is
unsuccessful; False to suppress the
warning message.
Outputs: (x, {infodict, ier, mesg})
x -- the solution (or the result of the last
iteration for an
unsuccessful call.
HTH
Nils
More information about the SciPy-User
mailing list