annotate liboctave/numeric/lo-amos-proto.h @ 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
1 ////////////////////////////////////////////////////////////////////////
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
2 //
30564
796f54d4ddbf update Octave Project Developers copyright for the new year
John W. Eaton <jwe@octave.org>
parents: 30517
diff changeset
3 // Copyright (C) 2016-2022 The Octave Project Developers
27923
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
4 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
5 // See the file COPYRIGHT.md in the top-level directory of this
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
6 // distribution or <https://octave.org/copyright/>.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
7 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
8 // This file is part of Octave.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
9 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
10 // Octave is free software: you can redistribute it and/or modify it
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
11 // under the terms of the GNU General Public License as published by
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
12 // the Free Software Foundation, either version 3 of the License, or
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
13 // (at your option) any later version.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
14 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
15 // Octave is distributed in the hope that it will be useful, but
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
16 // WITHOUT ANY WARRANTY; without even the implied warranty of
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
17 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
18 // GNU General Public License for more details.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
19 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
20 // You should have received a copy of the GNU General Public License
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
21 // along with Octave; see the file COPYING. If not, see
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
22 // <https://www.gnu.org/licenses/>.
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
23 //
bd51beb6205e update formatting of copyright notices
John W. Eaton <jwe@octave.org>
parents: 27919
diff changeset
24 ////////////////////////////////////////////////////////////////////////
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
25
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
26 #if ! defined (octave_lo_amos_proto_h)
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
27 #define octave_lo_amos_proto_h 1
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
28
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
29 #include "octave-config.h"
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
30
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
31 #include "f77-fcn.h"
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
32
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
33 extern "C"
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
34 {
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
35 // AIRY
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
36
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
37 F77_RET_T
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
38 F77_FUNC (cairy, CAIRY) (const F77_CMPLX *, const F77_INT&,
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
39 const F77_INT&, F77_CMPLX *,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
40 F77_INT&, F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
41
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
42 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
43 F77_FUNC (zairy, ZAIRY) (const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
44 const F77_INT&, const F77_INT&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
45 F77_DBLE&, F77_DBLE&, F77_INT&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
46 F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
47
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
48 // BESH
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
49
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
50 F77_RET_T
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
51 F77_FUNC (cbesh, CBESH) (const F77_CMPLX *, const F77_REAL&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
52 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
53 const F77_INT&, F77_CMPLX *,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
54 F77_INT&, F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
55
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
56 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
57 F77_FUNC (zbesh, ZBESH) (const F77_DBLE&, const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
58 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
59 const F77_INT&, F77_DBLE *, F77_DBLE *,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
60 F77_INT&, F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
61
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
62 // BESI
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
63
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
64 F77_RET_T
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
65 F77_FUNC (cbesi, CBESI) (const F77_CMPLX *, const F77_REAL&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
66 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
67 F77_CMPLX *, F77_INT&, F77_INT&);
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
68
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
69 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
70 F77_FUNC (zbesi, ZBESI) (const F77_DBLE&, const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
71 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
72 F77_DBLE *, F77_DBLE *, F77_INT&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
73 F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
74
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
75 // BESJ
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
76
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
77 F77_RET_T
30517
e1f876747650 lo-amos-proto.h (cbesj): Fix typo in function declaration.
Gene Harvey <gharveymn@gmail.com>
parents: 30394
diff changeset
78 F77_FUNC (cbesj, CBESJ) (const F77_CMPLX *, const F77_REAL&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
79 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
80 F77_CMPLX *, F77_INT&, F77_INT&);
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
81
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
82 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
83 F77_FUNC (zbesj, ZBESJ) (const F77_DBLE&, const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
84 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
85 F77_DBLE *, F77_DBLE *, F77_INT&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
86 F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
87
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
88 // BESK
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
89
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
90 F77_RET_T
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
91 F77_FUNC (cbesk, CBESK) (const F77_CMPLX *, const F77_REAL&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
92 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
93 F77_CMPLX *, F77_INT&, F77_INT&);
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
94
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
95 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
96 F77_FUNC (zbesk, ZBESK) (const F77_DBLE&, const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
97 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
98 F77_DBLE *, F77_DBLE *, F77_INT&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
99 F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
100
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
101 // BESY
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
102
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
103 F77_RET_T
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
104 F77_FUNC (cbesy, CBESY) (const F77_CMPLX *, const F77_REAL&,
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
105 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
106 F77_CMPLX *, F77_INT&,
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
107 F77_CMPLX *, F77_INT&);
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
108
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
109 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
110 F77_FUNC (zbesy, ZBESY) (const F77_DBLE&, const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
111 const F77_INT&, const F77_INT&,
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
112 F77_DBLE *, F77_DBLE *, F77_INT&, F77_DBLE *,
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
113 F77_DBLE *, F77_INT&);
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
114
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
115 // BIRY
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
116
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
117 F77_RET_T
30394
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
118 F77_FUNC (cbiry, CBIRY) (const F77_CMPLX *, const F77_INT&, const F77_INT&,
f3f3e3793fb5 maint: style check C++ files in liboctave/ ahead of 7.1 release.
Rik <rik@octave.org>
parents: 29358
diff changeset
119 const F77_CMPLX *, F77_INT&);
22322
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
120
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
121 F77_RET_T
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
122 F77_FUNC (zbiry, ZBIRY) (const F77_DBLE&, const F77_DBLE&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
123 const F77_INT&, const F77_INT&,
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
124 F77_DBLE&, F77_DBLE&, F77_INT&);
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
125 }
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
126
93b3cdd36854 move most f77 function decls to separate header files
John W. Eaton <jwe@octave.org>
parents:
diff changeset
127 #endif