Compute the stationary state solution out of the system described by instruct.
x is the initial guess used by the Newton-Raphson algorithm implemented in
nls_newton_raphson
, while tol and maxit are the corresponding
parameters.
The optional output niter returns the number of Newton iterations needed to reach convergence.
See also: nls_newton_raphson.
Package: ocs