Debian Codegraph @

external/gsl/gsl_multifit_nlin.h

raw symbols SCIP
1 /* multifit_nlin/gsl_multifit_nlin.h
2 *
3 * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Brian Gough
4 *
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 3 of the License, or (at
8 * your option) any later version.
9 *
10 * This program is distributed in the hope that it will be useful, but
11 * WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18 */
19
20 #ifndef __GSL_MULTIFIT_NLIN_H__
21 #define __GSL_MULTIFIT_NLIN_H__cxx . . $ `external/gsl/gsl_multifit_nlin.h:21:9`!
22
23 #include <stdlib.h>
24 #include "gsl_types.h"cxx . . $ `<file>/external/gsl/gsl_types.h`/
25 #include "gsl_math.h"cxx . . $ `<file>/external/gsl/gsl_math.h`/
26 #include "gsl_vector.h"cxx . . $ `<file>/external/gsl/gsl_vector.h`/
27 #include "gsl_matrix.h"cxx . . $ `<file>/external/gsl/gsl_matrix.h`/
28
29 #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_linalg.h:34:9`!
30 #undef __END_DECLScxx . . $ `external/gsl/gsl_linalg.h:35:9`!
31 #ifdef __cplusplus
32 # define __BEGIN_DECLS extern "C" {
33 # define __END_DECLS }
34 #else
35 # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_multifit_nlin.h:35:10`! /* empty */
36 # define __END_DECLScxx . . $ `external/gsl/gsl_multifit_nlin.h:36:10`! /* empty */
37 #endif
38
39 __BEGIN_DECLScxx . . $ `external/gsl/gsl_multifit_nlin.h:35:10`!
40
41 int gsl_multifit_gradientcxx . . $ gsl_multifit_gradient(c419fed7545aef1d). (const gsl_matrixcxx . . $ gsl_matrix# * J, const gsl_vectorcxx . . $ gsl_vector# * f,
42 gsl_vectorcxx . . $ gsl_vector# * g);
43
44 int gsl_multifit_covarcxx . . $ gsl_multifit_covar(2e19bc0961f74fa8). (const gsl_matrixcxx . . $ gsl_matrix# * J, double epsrel, gsl_matrixcxx . . $ gsl_matrix# * covar);
45
46
47 /* Definition of vector-valued functions with parameters based on gsl_vector */
48
49 struct gsl_multifit_function_structcxx . . $ gsl_multifit_function_struct#
50 {
51 int (* fcxx . . $ gsl_multifit_function_struct#f.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_vectorcxx . . $ gsl_vector# * f);
52 size_tcxx . . $ size_t# ncxx . . $ gsl_multifit_function_struct#n.; /* number of functions */
53 size_tcxx . . $ size_t# pcxx . . $ gsl_multifit_function_struct#p.; /* number of independent variables */
54 void * paramscxx . . $ gsl_multifit_function_struct#params.;
55 };
56
57 typedef struct gsl_multifit_function_structcxx . . $ gsl_multifit_function_struct# gsl_multifit_functioncxx . . $ gsl_multifit_function# ;
58
59 #define GSL_MULTIFIT_FN_EVALcxx . . $ `external/gsl/gsl_multifit_nlin.h:59:9`!(F,x,y) (*((F)->f))(x,(F)->params,(y))
60
61 typedef structcxx . . $ $anonymous_type_52a18a1d9253cc93_0#
62 {
63 const char *namecxx . . $ $anonymous_type_52a18a1d9253cc93_0#name.;
64 size_tcxx . . $ size_t# sizecxx . . $ $anonymous_type_52a18a1d9253cc93_0#size.;
65 int (*alloccxx . . $ $anonymous_type_52a18a1d9253cc93_0#alloc.) (void *state, size_tcxx . . $ size_t# n, size_tcxx . . $ size_t# p);
66 int (*setcxx . . $ $anonymous_type_52a18a1d9253cc93_0#set.) (void *state, gsl_multifit_functioncxx . . $ gsl_multifit_function# * function, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_vectorcxx . . $ gsl_vector# * dx);
67 int (*iteratecxx . . $ $anonymous_type_52a18a1d9253cc93_0#iterate.) (void *state, gsl_multifit_functioncxx . . $ gsl_multifit_function# * function, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_vectorcxx . . $ gsl_vector# * dx);
68 void (*freecxx . . $ $anonymous_type_52a18a1d9253cc93_0#free.) (void *state);
69 }
70 gsl_multifit_fsolver_typecxx . . $ gsl_multifit_fsolver_type#;
71
72 typedef structcxx . . $ $anonymous_type_52a18a1d9253cc93_1#
73 {
74 const gsl_multifit_fsolver_typecxx . . $ gsl_multifit_fsolver_type# * typecxx . . $ $anonymous_type_52a18a1d9253cc93_1#type.;
75 gsl_multifit_functioncxx . . $ gsl_multifit_function# * functioncxx . . $ $anonymous_type_52a18a1d9253cc93_1#function. ;
76 gsl_vectorcxx . . $ gsl_vector# * xcxx . . $ $anonymous_type_52a18a1d9253cc93_1#x. ;
77 gsl_vectorcxx . . $ gsl_vector# * fcxx . . $ $anonymous_type_52a18a1d9253cc93_1#f. ;
78 gsl_vectorcxx . . $ gsl_vector# * dxcxx . . $ $anonymous_type_52a18a1d9253cc93_1#dx. ;
79 void *statecxx . . $ $anonymous_type_52a18a1d9253cc93_1#state.;
80 }
81 gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver#;
82
83 gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver# *
84 gsl_multifit_fsolver_alloccxx . . $ gsl_multifit_fsolver_alloc(4b4339c5370f07f5). (const gsl_multifit_fsolver_typecxx . . $ gsl_multifit_fsolver_type# * T,
85 size_tcxx . . $ size_t# n, size_tcxx . . $ size_t# p);
86
87 void gsl_multifit_fsolver_freecxx . . $ gsl_multifit_fsolver_free(6ec38b32cf1fb130). (gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver# * s);
88
89 int gsl_multifit_fsolver_setcxx . . $ gsl_multifit_fsolver_set(6f829c58bd708c1a). (gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver# * s,
90 gsl_multifit_functioncxx . . $ gsl_multifit_function# * f,
91 const gsl_vectorcxx . . $ gsl_vector# * x);
92
93 int gsl_multifit_fsolver_iteratecxx . . $ gsl_multifit_fsolver_iterate(195e759814a60d8a). (gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver# * s);
94
95 const char * gsl_multifit_fsolver_namecxx . . $ gsl_multifit_fsolver_name(c2e2f759054c9a0e). (const gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver# * s);
96 gsl_vectorcxx . . $ gsl_vector# * gsl_multifit_fsolver_positioncxx . . $ gsl_multifit_fsolver_position(e3f3f71ceadda8a4). (const gsl_multifit_fsolvercxx . . $ gsl_multifit_fsolver# * s);
97
98 /* Definition of vector-valued functions and gradient with parameters
99 based on gsl_vector */
100
101 struct gsl_multifit_function_fdf_structcxx . . $ gsl_multifit_function_fdf_struct#
102 {
103 int (* fcxx . . $ gsl_multifit_function_fdf_struct#f.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_vectorcxx . . $ gsl_vector# * f);
104 int (* dfcxx . . $ gsl_multifit_function_fdf_struct#df.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_matrixcxx . . $ gsl_matrix# * df);
105 int (* fdfcxx . . $ gsl_multifit_function_fdf_struct#fdf.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_vectorcxx . . $ gsl_vector# * f, gsl_matrixcxx . . $ gsl_matrix# *df);
106 size_tcxx . . $ size_t# ncxx . . $ gsl_multifit_function_fdf_struct#n.; /* number of functions */
107 size_tcxx . . $ size_t# pcxx . . $ gsl_multifit_function_fdf_struct#p.; /* number of independent variables */
108 void * paramscxx . . $ gsl_multifit_function_fdf_struct#params.;
109 };
110
111 typedef struct gsl_multifit_function_fdf_structcxx . . $ gsl_multifit_function_fdf_struct# gsl_multifit_function_fdfcxx . . $ gsl_multifit_function_fdf# ;
112
113 #define GSL_MULTIFIT_FN_EVAL_Fcxx . . $ `external/gsl/gsl_multifit_nlin.h:113:9`!(F,x,y) ((*((F)->f))(x,(F)->params,(y)))
114 #define GSL_MULTIFIT_FN_EVAL_DFcxx . . $ `external/gsl/gsl_multifit_nlin.h:114:9`!(F,x,dy) ((*((F)->df))(x,(F)->params,(dy)))
115 #define GSL_MULTIFIT_FN_EVAL_F_DFcxx . . $ `external/gsl/gsl_multifit_nlin.h:115:9`!(F,x,y,dy) ((*((F)->fdf))(x,(F)->params,(y),(dy)))
116
117 typedef structcxx . . $ $anonymous_type_52a18a1d9253cc93_2#
118 {
119 const char *namecxx . . $ $anonymous_type_52a18a1d9253cc93_2#name.;
120 size_tcxx . . $ size_t# sizecxx . . $ $anonymous_type_52a18a1d9253cc93_2#size.;
121 int (*alloccxx . . $ $anonymous_type_52a18a1d9253cc93_2#alloc.) (void *state, size_tcxx . . $ size_t# n, size_tcxx . . $ size_t# p);
122 int (*setcxx . . $ $anonymous_type_52a18a1d9253cc93_2#set.) (void *state, gsl_multifit_function_fdfcxx . . $ gsl_multifit_function_fdf# * fdf, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_matrixcxx . . $ gsl_matrix# * J, gsl_vectorcxx . . $ gsl_vector# * dx);
123 int (*iteratecxx . . $ $anonymous_type_52a18a1d9253cc93_2#iterate.) (void *state, gsl_multifit_function_fdfcxx . . $ gsl_multifit_function_fdf# * fdf, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_matrixcxx . . $ gsl_matrix# * J, gsl_vectorcxx . . $ gsl_vector# * dx);
124 void (*freecxx . . $ $anonymous_type_52a18a1d9253cc93_2#free.) (void *state);
125 }
126 gsl_multifit_fdfsolver_typecxx . . $ gsl_multifit_fdfsolver_type#;
127
128 typedef structcxx . . $ $anonymous_type_52a18a1d9253cc93_3#
129 {
130 const gsl_multifit_fdfsolver_typecxx . . $ gsl_multifit_fdfsolver_type# * typecxx . . $ $anonymous_type_52a18a1d9253cc93_3#type.;
131 gsl_multifit_function_fdfcxx . . $ gsl_multifit_function_fdf# * fdfcxx . . $ $anonymous_type_52a18a1d9253cc93_3#fdf. ;
132 gsl_vectorcxx . . $ gsl_vector# * xcxx . . $ $anonymous_type_52a18a1d9253cc93_3#x.;
133 gsl_vectorcxx . . $ gsl_vector# * fcxx . . $ $anonymous_type_52a18a1d9253cc93_3#f.;
134 gsl_matrixcxx . . $ gsl_matrix# * Jcxx . . $ $anonymous_type_52a18a1d9253cc93_3#J.;
135 gsl_vectorcxx . . $ gsl_vector# * dxcxx . . $ $anonymous_type_52a18a1d9253cc93_3#dx.;
136 void *statecxx . . $ $anonymous_type_52a18a1d9253cc93_3#state.;
137 }
138 gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver#;
139
140
141 gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver# *
142 gsl_multifit_fdfsolver_alloccxx . . $ gsl_multifit_fdfsolver_alloc(820795a84717c6bd). (const gsl_multifit_fdfsolver_typecxx . . $ gsl_multifit_fdfsolver_type# * T,
143 size_tcxx . . $ size_t# n, size_tcxx . . $ size_t# p);
144
145 int
146 gsl_multifit_fdfsolver_setcxx . . $ gsl_multifit_fdfsolver_set(acadafc21178bf26). (gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver# * s,
147 gsl_multifit_function_fdfcxx . . $ gsl_multifit_function_fdf# * fdf,
148 const gsl_vectorcxx . . $ gsl_vector# * x);
149
150 int
151 gsl_multifit_fdfsolver_iteratecxx . . $ gsl_multifit_fdfsolver_iterate(98f8151cfbe716d9). (gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver# * s);
152
153 void
154 gsl_multifit_fdfsolver_freecxx . . $ gsl_multifit_fdfsolver_free(259eba66c1a4a515). (gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver# * s);
155
156 const char * gsl_multifit_fdfsolver_namecxx . . $ gsl_multifit_fdfsolver_name(26c60aa56e511a7a). (const gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver# * s);
157 gsl_vectorcxx . . $ gsl_vector# * gsl_multifit_fdfsolver_positioncxx . . $ gsl_multifit_fdfsolver_position(e91240201488c426). (const gsl_multifit_fdfsolvercxx . . $ gsl_multifit_fdfsolver# * s);
158
159 int gsl_multifit_test_deltacxx . . $ gsl_multifit_test_delta(d3d503392c4d34fa). (const gsl_vectorcxx . . $ gsl_vector# * dx, const gsl_vectorcxx . . $ gsl_vector# * x,
160 double epsabs, double epsrel);
161
162 int gsl_multifit_test_gradientcxx . . $ gsl_multifit_test_gradient(bf7e908a2166a95b). (const gsl_vectorcxx . . $ gsl_vector# * g, double epsabs);
163
164 /* extern const gsl_multifit_fsolver_type * gsl_multifit_fsolver_gradient; */
165
166 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multifit_fdfsolver_typecxx . . $ gsl_multifit_fdfsolver_type# * gsl_multifit_fdfsolver_lmdercxx . . $ gsl_multifit_fdfsolver_lmder.;
167 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multifit_fdfsolver_typecxx . . $ gsl_multifit_fdfsolver_type# * gsl_multifit_fdfsolver_lmsdercxx . . $ gsl_multifit_fdfsolver_lmsder.;
168
169
170 __END_DECLScxx . . $ `external/gsl/gsl_multifit_nlin.h:36:10`!
171
172 #endif /* __GSL_MULTIFIT_NLIN_H__ */