Mercurial > hg > octave-lyh
diff src/DLD-FUNCTIONS/fsolve.cc @ 4144:b02ada83de67
[project @ 2002-11-01 18:03:56 by jwe]
author | jwe |
---|---|
date | Fri, 01 Nov 2002 18:03:56 +0000 |
parents | 303b28a7a7e4 |
children | 40f76ce7a051 |
line wrap: on
line diff
--- a/src/DLD-FUNCTIONS/fsolve.cc +++ b/src/DLD-FUNCTIONS/fsolve.cc @@ -219,6 +219,22 @@ and an initial starting point @var{x0}, @code{fsolve} solves the set of\n\ equations such that @code{f(@var{x}) == 0}.\n\ \n\ +If @var{fcn} is a two-element string array, the first element names\n\ +the function @math{f} described above, and the second element names\n\ +a function of the form @code{j (@var{x})} to compute the Jacobian\n\ +matrix with elements\n\ +@tex\n\ +$$ J = {\\partial f_i \\over \\partial x_j} $$\n\ +@end tex\n\ +@ifinfo\n\ +\n\ +@example\n\ + df_i +jac = ---- + dx_j +@end example\n\ +@end ifinfo\n\ +\n\ You can use the function @code{fsolve_options} to set optional\n\ parameters for @code{fsolve}.\n\ @end deftypefn")