7017
|
1 # Copyright (C) 2002 John W. Eaton |
|
2 # |
|
3 # This file is part of Octave. |
|
4 # |
|
5 # Octave is free software; you can redistribute it and/or modify it |
|
6 # under the terms of the GNU General Public License as published by the |
|
7 # Free Software Foundation; either version 3 of the License, or (at |
|
8 # your option) any later version. |
|
9 # |
|
10 # Octave is distributed in the hope that it will be useful, but WITHOUT |
|
11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
13 # for more details. |
|
14 # |
|
15 # You should have received a copy of the GNU General Public License |
|
16 # along with Octave; see the file COPYING. If not, see |
|
17 # <http://www.gnu.org/licenses/>. |
|
18 |
3998
|
19 CLASS = "NLEqn" |
|
20 |
|
21 FCN_NAME = "fsolve" |
|
22 |
4044
|
23 INCLUDE = "dColVector.h" |
|
24 INCLUDE = "NLFunc.h" |
|
25 |
|
26 |
3998
|
27 DOC_STRING |
|
28 When called with two arguments, this function allows you set options |
|
29 parameters for the function @code{fsolve}. Given one argument, |
|
30 @code{fsolve_options} returns the value of the corresponding option. If |
|
31 no arguments are supplied, the names of all the available options and |
|
32 their current values are displayed. |
|
33 END_DOC_STRING |
|
34 |
|
35 OPTION |
|
36 NAME = "tolerance" |
4050
|
37 DOC_ITEM |
|
38 Nonnegative relative tolerance. |
|
39 END_DOC_ITEM |
3998
|
40 TYPE = "double" |
|
41 INIT_VALUE = "::sqrt (DBL_EPSILON)" |
|
42 SET_EXPR = "(val > 0.0) ? val : ::sqrt (DBL_EPSILON)" |
|
43 END_OPTION |