Mercurial > hg > octave-nkf
diff doc/interpreter/nonlin.txi @ 7359:8fb8d6985395
[project @ 2008-01-11 02:40:46 by jwe]
author | jwe |
---|---|
date | Fri, 11 Jan 2008 02:40:46 +0000 |
parents | fd42779a8428 |
children | b93ac0586e4b 72830070a17b |
line wrap: on
line diff
--- a/doc/interpreter/nonlin.txi +++ b/doc/interpreter/nonlin.txi @@ -79,7 +79,7 @@ @code{f} defined above, @example -[x, info] = fsolve (@@f, [1; 2]) +[x, fval, info] = fsolve (@@f, [1; 2]) @end example @noindent @@ -91,6 +91,11 @@ 0.57983 2.54621 +fval = + + -5.7184e-10 + 5.5460e-10 + info = 1 @end example @@ -141,7 +146,7 @@ Using this Jacobian is done with the following code @example -[x, info] = fsolve (@{@@f, @@jacobian@}, [1; 2]); +[x, fval, info] = fsolve (@{@@f, @@jacobian@}, [1; 2]); @end example @noindent