| Inputs |
func |
The function defining the set of nonlinear equations to be solved. It should be a function of the form (y)=f(x)
and return an array of the same size as the input which is always a
vector of more than one real numbers.
|
xin |
the initial guess of the solution . |
showit |
true if the progress of iterations is to be printed out at each iteration. Default value=false .
|
itmax |
Maximum no. of iterations allowed . Default value=30. |
toler |
Convergence tolerance. Default value=1.e-6. |
| Outputs |
x |
The computed solution, if the iterations converge. |
it |
The number of iterations required. |
success |
true if the iterations converge, and false otherwise. |