Mercurial > octave
annotate liboctave/numeric/Quad-opts.in @ 31249:de6fc38c78c6
Make Jacobian types offered by dlsode.f accessible by lsode (bug #31626).
* liboctave/numeric/LSODE-opts.in: Add options "jacobian type", "lower jacobian
subdiagonals", and "upper jacobian subdiagonals".
* liboctave/numeric/LSODE.cc (file scope, lsode_j,
LSODE::do_integrate (double)): Handle new configurable Jacobian types.
* build-aux/mk-opts.pl: Don't implicitly convert to integer in condition.
author | Olaf Till <olaf.till@uni-jena.de> |
---|---|
date | Fri, 12 Nov 2010 08:53:05 +0100 |
parents | 796f54d4ddbf |
children | 597f3ee61a48 |
rev | line source |
---|---|
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
1 ######################################################################## |
29357
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
2 ## |
30564
796f54d4ddbf
update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents:
29358
diff
changeset
|
3 ## Copyright (C) 2002-2022 The Octave Project Developers |
29357
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
4 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
5 ## See the file COPYRIGHT.md in the top-level directory of this |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
6 ## distribution or <https://octave.org/copyright/>. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
7 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
8 ## This file is part of Octave. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
9 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
10 ## Octave is free software: you can redistribute it and/or modify it |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
11 ## under the terms of the GNU General Public License as published by |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
12 ## the Free Software Foundation, either version 3 of the License, or |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
13 ## (at your option) any later version. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
14 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
15 ## Octave is distributed in the hope that it will be useful, but |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
16 ## WITHOUT ANY WARRANTY; without even the implied warranty of |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
17 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
18 ## GNU General Public License for more details. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
19 ## |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
20 ## You should have received a copy of the GNU General Public License |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
21 ## along with Octave; see the file COPYING. If not, see |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
22 ## <https://www.gnu.org/licenses/>. |
bbbe4dcc7200
use the same comment style for copyright headers in .m files and shell scripts
John W. Eaton <jwe@octave.org>
parents:
27923
diff
changeset
|
23 ## |
27923
bd51beb6205e
update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents:
27919
diff
changeset
|
24 ######################################################################## |
7017 | 25 |
3998 | 26 CLASS = "Quad" |
27 | |
28 OPTION | |
29 NAME = "absolute tolerance" | |
4051 | 30 DOC_ITEM |
31 Absolute tolerance; may be zero for pure relative error test. | |
10840 | 32 |
4051 | 33 END_DOC_ITEM |
3998 | 34 TYPE = "double" |
15220
61822c866ba1
use std::numeric_limits<T>::epsilon in C++ code
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
35 INIT_VALUE = "::sqrt (std::numeric_limits<double>::epsilon ())" |
3998 | 36 SET_EXPR = "val" |
37 END_OPTION | |
38 | |
39 OPTION | |
40 NAME = "relative tolerance" | |
4051 | 41 DOC_ITEM |
10840 | 42 Non-negative relative tolerance. If the absolute tolerance is zero, |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
12612
diff
changeset
|
43 the relative tolerance must be greater than or equal to |
12612
16cca721117b
doc: Update all documentation for chapter on Numerical Integration
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
44 @w{@code{max (50*eps, 0.5e-28)}}. |
10840 | 45 |
4051 | 46 END_DOC_ITEM |
3998 | 47 TYPE = "double" |
15220
61822c866ba1
use std::numeric_limits<T>::epsilon in C++ code
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
48 INIT_VALUE = "::sqrt (std::numeric_limits<double>::epsilon ())" |
3998 | 49 SET_EXPR = "val" |
50 END_OPTION | |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
51 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
52 OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
53 NAME = "single precision absolute tolerance" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
54 DOC_ITEM |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
12612
diff
changeset
|
55 Absolute tolerance for single precision; may be zero for pure relative |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
56 error test. |
10840 | 57 |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
58 END_DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
59 TYPE = "float" |
15220
61822c866ba1
use std::numeric_limits<T>::epsilon in C++ code
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
60 INIT_VALUE = "::sqrt (std::numeric_limits<float>::epsilon ())" |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
61 SET_EXPR = "val" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
62 END_OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
63 |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
64 OPTION |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
65 NAME = "single precision relative tolerance" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
66 DOC_ITEM |
10840 | 67 Non-negative relative tolerance for single precision. If the absolute |
13141
e81ddf9cacd5
maint: untabify and remove trailing whitespace from source files
John W. Eaton <jwe@octave.org>
parents:
12612
diff
changeset
|
68 tolerance is zero, the relative tolerance must be greater than or equal to |
12612
16cca721117b
doc: Update all documentation for chapter on Numerical Integration
Rik <octave@nomad.inbox5.com>
parents:
11523
diff
changeset
|
69 @w{@code{max (50*eps, 0.5e-28)}}. |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
70 END_DOC_ITEM |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
71 TYPE = "float" |
15220
61822c866ba1
use std::numeric_limits<T>::epsilon in C++ code
John W. Eaton <jwe@octave.org>
parents:
14138
diff
changeset
|
72 INIT_VALUE = "::sqrt (std::numeric_limits<float>::epsilon ())" |
7805
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
73 SET_EXPR = "val" |
62affb34e648
Make quad work with single precision
David Bateman <dbateman@free.fr>
parents:
7017
diff
changeset
|
74 END_OPTION |