comparison doc/interpreter/nonlin.txi @ 3368:a4cd1e9d9962

[project @ 1999-11-20 17:22:48 by jwe]
author jwe
date Sat, 20 Nov 1999 17:23:01 +0000
parents bfe1573bd2ae
children aae05d51353c
comparison
equal deleted inserted replaced
3367:0748b03c3510 3368:a4cd1e9d9962
24 24
25 @noindent 25 @noindent
26 using the function @code{fsolve}, which is based on the @sc{Minpack} 26 using the function @code{fsolve}, which is based on the @sc{Minpack}
27 subroutine @code{hybrd}. 27 subroutine @code{hybrd}.
28 28
29 @deftypefn {Loadable Function} {[@var{x}, @var{info}] =} fsolve (@var{fcn}, @var{x0}) 29 @DOCSTRING(fsolve)
30 Given @var{fcn}, the name of a function of the form @code{f (@var{x})}
31 and an initial starting point @var{x0}, @code{fsolve} solves the set of
32 equations such that @code{f(@var{x}) == 0}.
33 @end deftypefn
34 30
35 @deftypefn {Loadable Function} {} fsolve_options (@var{opt}, @var{val}) 31 @DOCSTRING(fsolve_options)
36 When called with two arguments, this function allows you set options
37 parameters for the function @code{fsolve}. Given one argument,
38 @code{fsolve_options} returns the value of the corresponding option. If
39 no arguments are supplied, the names of all the available options and
40 their current values are displayed.
41 @end deftypefn
42 32
43 Here is a complete example. To solve the set of equations 33 Here is a complete example. To solve the set of equations
44 @iftex 34 @iftex
45 @tex 35 @tex
46 $$ 36 $$