Debian Codegraph @

external/gsl/gsl_multiroots.h

raw symbols SCIP
1 /* multiroots/gsl_multiroots.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_MULTIROOTS_H__
21 #define __GSL_MULTIROOTS_H__cxx . . $ `external/gsl/gsl_multiroots.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_matrix_char.h:35:10`!
30 #undef __END_DECLScxx . . $ `external/gsl/gsl_matrix_char.h:36:10`!
31 #ifdef __cplusplus
32 # define __BEGIN_DECLS extern "C" {
33 # define __END_DECLS }
34 #else
35 # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_multiroots.h:35:10`! /* empty */
36 # define __END_DECLScxx . . $ `external/gsl/gsl_multiroots.h:36:10`! /* empty */
37 #endif
38
39 __BEGIN_DECLScxx . . $ `external/gsl/gsl_multiroots.h:35:10`!
40
41 /* Definition of vector-valued functions with parameters based on gsl_vector */
42
43 struct gsl_multiroot_function_structcxx . . $ gsl_multiroot_function_struct#
44 {
45 int (* fcxx . . $ gsl_multiroot_function_struct#f.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_vectorcxx . . $ gsl_vector# * f);
46 size_t ncxx . . $ gsl_multiroot_function_struct#n.;
47 void * paramscxx . . $ gsl_multiroot_function_struct#params.;
48 };
49
50 typedef struct gsl_multiroot_function_structcxx . . $ gsl_multiroot_function_struct# gsl_multiroot_functioncxx . . $ gsl_multiroot_function# ;
51
52 #define GSL_MULTIROOT_FN_EVALcxx . . $ `external/gsl/gsl_multiroots.h:52:9`!(F,x,y) (*((F)->f))(x,(F)->params,(y))
53
54 int gsl_multiroot_fdjacobiancxx . . $ gsl_multiroot_fdjacobian(626cf04f7928da7f). (gsl_multiroot_functioncxx . . $ gsl_multiroot_function# * F,
55 const gsl_vectorcxx . . $ gsl_vector# * x, const gsl_vectorcxx . . $ gsl_vector# * f,
56 double epsrel, gsl_matrixcxx . . $ gsl_matrix# * jacobian);
57
58
59 typedef structcxx . . $ $anonymous_type_a4b565e210e7961f_0#
60 {
61 const char *namecxx . . $ $anonymous_type_a4b565e210e7961f_0#name.;
62 size_t sizecxx . . $ $anonymous_type_a4b565e210e7961f_0#size.;
63 int (*alloccxx . . $ $anonymous_type_a4b565e210e7961f_0#alloc.) (void *state, size_t n);
64 int (*setcxx . . $ $anonymous_type_a4b565e210e7961f_0#set.) (void *state, gsl_multiroot_functioncxx . . $ gsl_multiroot_function# * function, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_vectorcxx . . $ gsl_vector# * dx);
65 int (*iteratecxx . . $ $anonymous_type_a4b565e210e7961f_0#iterate.) (void *state, gsl_multiroot_functioncxx . . $ gsl_multiroot_function# * function, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_vectorcxx . . $ gsl_vector# * dx);
66 void (*freecxx . . $ $anonymous_type_a4b565e210e7961f_0#free.) (void *state);
67 }
68 gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type#;
69
70 typedef structcxx . . $ $anonymous_type_a4b565e210e7961f_1#
71 {
72 const gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type# * typecxx . . $ $anonymous_type_a4b565e210e7961f_1#type.;
73 gsl_multiroot_functioncxx . . $ gsl_multiroot_function# * functioncxx . . $ $anonymous_type_a4b565e210e7961f_1#function. ;
74 gsl_vectorcxx . . $ gsl_vector# * xcxx . . $ $anonymous_type_a4b565e210e7961f_1#x. ;
75 gsl_vectorcxx . . $ gsl_vector# * fcxx . . $ $anonymous_type_a4b565e210e7961f_1#f. ;
76 gsl_vectorcxx . . $ gsl_vector# * dxcxx . . $ $anonymous_type_a4b565e210e7961f_1#dx. ;
77 void *statecxx . . $ $anonymous_type_a4b565e210e7961f_1#state.;
78 }
79 gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver#;
80
81 gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# *
82 gsl_multiroot_fsolver_alloccxx . . $ gsl_multiroot_fsolver_alloc(32ea597e89a717ee). (const gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type# * T,
83 size_t n);
84
85 void gsl_multiroot_fsolver_freecxx . . $ gsl_multiroot_fsolver_free(da76c71e91d09c6). (gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s);
86
87 int gsl_multiroot_fsolver_setcxx . . $ gsl_multiroot_fsolver_set(9d68c2d173d0f61e). (gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s,
88 gsl_multiroot_functioncxx . . $ gsl_multiroot_function# * f,
89 const gsl_vectorcxx . . $ gsl_vector# * x);
90
91 int gsl_multiroot_fsolver_iteratecxx . . $ gsl_multiroot_fsolver_iterate(125f86420e9cbc9c). (gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s);
92
93 const char * gsl_multiroot_fsolver_namecxx . . $ gsl_multiroot_fsolver_name(49dbab7f885eacd0). (const gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s);
94 gsl_vectorcxx . . $ gsl_vector# * gsl_multiroot_fsolver_rootcxx . . $ gsl_multiroot_fsolver_root(3cc905de43c7631c). (const gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s);
95 gsl_vectorcxx . . $ gsl_vector# * gsl_multiroot_fsolver_dxcxx . . $ gsl_multiroot_fsolver_dx(3cc905de43c7631c). (const gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s);
96 gsl_vectorcxx . . $ gsl_vector# * gsl_multiroot_fsolver_fcxx . . $ gsl_multiroot_fsolver_f(3cc905de43c7631c). (const gsl_multiroot_fsolvercxx . . $ gsl_multiroot_fsolver# * s);
97
98 /* Definition of vector-valued functions and gradient with parameters
99 based on gsl_vector */
100
101 struct gsl_multiroot_function_fdf_structcxx . . $ gsl_multiroot_function_fdf_struct#
102 {
103 int (* fcxx . . $ gsl_multiroot_function_fdf_struct#f.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_vectorcxx . . $ gsl_vector# * f);
104 int (* dfcxx . . $ gsl_multiroot_function_fdf_struct#df.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_matrixcxx . . $ gsl_matrix# * df);
105 int (* fdfcxx . . $ gsl_multiroot_function_fdf_struct#fdf.) (const gsl_vectorcxx . . $ gsl_vector# * x, void * params, gsl_vectorcxx . . $ gsl_vector# * f, gsl_matrixcxx . . $ gsl_matrix# *df);
106 size_t ncxx . . $ gsl_multiroot_function_fdf_struct#n.;
107 void * paramscxx . . $ gsl_multiroot_function_fdf_struct#params.;
108 };
109
110 typedef struct gsl_multiroot_function_fdf_structcxx . . $ gsl_multiroot_function_fdf_struct# gsl_multiroot_function_fdfcxx . . $ gsl_multiroot_function_fdf# ;
111
112 #define GSL_MULTIROOT_FN_EVAL_Fcxx . . $ `external/gsl/gsl_multiroots.h:112:9`!(F,x,y) ((*((F)->f))(x,(F)->params,(y)))
113 #define GSL_MULTIROOT_FN_EVAL_DFcxx . . $ `external/gsl/gsl_multiroots.h:113:9`!(F,x,dy) ((*((F)->df))(x,(F)->params,(dy)))
114 #define GSL_MULTIROOT_FN_EVAL_F_DFcxx . . $ `external/gsl/gsl_multiroots.h:114:9`!(F,x,y,dy) ((*((F)->fdf))(x,(F)->params,(y),(dy)))
115
116 typedef structcxx . . $ $anonymous_type_a4b565e210e7961f_2#
117 {
118 const char *namecxx . . $ $anonymous_type_a4b565e210e7961f_2#name.;
119 size_t sizecxx . . $ $anonymous_type_a4b565e210e7961f_2#size.;
120 int (*alloccxx . . $ $anonymous_type_a4b565e210e7961f_2#alloc.) (void *state, size_t n);
121 int (*setcxx . . $ $anonymous_type_a4b565e210e7961f_2#set.) (void *state, gsl_multiroot_function_fdfcxx . . $ gsl_multiroot_function_fdf# * fdf, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_matrixcxx . . $ gsl_matrix# * J, gsl_vectorcxx . . $ gsl_vector# * dx);
122 int (*iteratecxx . . $ $anonymous_type_a4b565e210e7961f_2#iterate.) (void *state, gsl_multiroot_function_fdfcxx . . $ gsl_multiroot_function_fdf# * fdf, gsl_vectorcxx . . $ gsl_vector# * x, gsl_vectorcxx . . $ gsl_vector# * f, gsl_matrixcxx . . $ gsl_matrix# * J, gsl_vectorcxx . . $ gsl_vector# * dx);
123 void (*freecxx . . $ $anonymous_type_a4b565e210e7961f_2#free.) (void *state);
124 }
125 gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type#;
126
127 typedef structcxx . . $ $anonymous_type_a4b565e210e7961f_3#
128 {
129 const gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type# * typecxx . . $ $anonymous_type_a4b565e210e7961f_3#type.;
130 gsl_multiroot_function_fdfcxx . . $ gsl_multiroot_function_fdf# * fdfcxx . . $ $anonymous_type_a4b565e210e7961f_3#fdf. ;
131 gsl_vectorcxx . . $ gsl_vector# * xcxx . . $ $anonymous_type_a4b565e210e7961f_3#x.;
132 gsl_vectorcxx . . $ gsl_vector# * fcxx . . $ $anonymous_type_a4b565e210e7961f_3#f.;
133 gsl_matrixcxx . . $ gsl_matrix# * Jcxx . . $ $anonymous_type_a4b565e210e7961f_3#J.;
134 gsl_vectorcxx . . $ gsl_vector# * dxcxx . . $ $anonymous_type_a4b565e210e7961f_3#dx.;
135 void *statecxx . . $ $anonymous_type_a4b565e210e7961f_3#state.;
136 }
137 gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver#;
138
139 gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# *
140 gsl_multiroot_fdfsolver_alloccxx . . $ gsl_multiroot_fdfsolver_alloc(16402f2f316f1654). (const gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type# * T,
141 size_t n);
142
143 int
144 gsl_multiroot_fdfsolver_setcxx . . $ gsl_multiroot_fdfsolver_set(49036c28fbcad88a). (gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s,
145 gsl_multiroot_function_fdfcxx . . $ gsl_multiroot_function_fdf# * fdf,
146 const gsl_vectorcxx . . $ gsl_vector# * x);
147
148 int
149 gsl_multiroot_fdfsolver_iteratecxx . . $ gsl_multiroot_fdfsolver_iterate(62ee3652521f8407). (gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s);
150
151 void
152 gsl_multiroot_fdfsolver_freecxx . . $ gsl_multiroot_fdfsolver_free(27d1ba267bc9dbce). (gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s);
153
154 const char * gsl_multiroot_fdfsolver_namecxx . . $ gsl_multiroot_fdfsolver_name(c56846354ae899a6). (const gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s);
155 gsl_vectorcxx . . $ gsl_vector# * gsl_multiroot_fdfsolver_rootcxx . . $ gsl_multiroot_fdfsolver_root(2a1114588428b4e2). (const gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s);
156 gsl_vectorcxx . . $ gsl_vector# * gsl_multiroot_fdfsolver_dxcxx . . $ gsl_multiroot_fdfsolver_dx(2a1114588428b4e2). (const gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s);
157 gsl_vectorcxx . . $ gsl_vector# * gsl_multiroot_fdfsolver_fcxx . . $ gsl_multiroot_fdfsolver_f(2a1114588428b4e2). (const gsl_multiroot_fdfsolvercxx . . $ gsl_multiroot_fdfsolver# * s);
158
159 int gsl_multiroot_test_deltacxx . . $ gsl_multiroot_test_delta(d3d503392c4d34fa). (const gsl_vectorcxx . . $ gsl_vector# * dx, const gsl_vectorcxx . . $ gsl_vector# * x,
160 double epsabs, double epsrel);
161
162 int gsl_multiroot_test_residualcxx . . $ gsl_multiroot_test_residual(bf7e908a2166a95b). (const gsl_vectorcxx . . $ gsl_vector# * f, double epsabs);
163
164 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type# * gsl_multiroot_fsolver_dnewtoncxx . . $ gsl_multiroot_fsolver_dnewton.;
165 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type# * gsl_multiroot_fsolver_broydencxx . . $ gsl_multiroot_fsolver_broyden.;
166 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type# * gsl_multiroot_fsolver_hybridcxx . . $ gsl_multiroot_fsolver_hybrid.;
167 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fsolver_typecxx . . $ gsl_multiroot_fsolver_type# * gsl_multiroot_fsolver_hybridscxx . . $ gsl_multiroot_fsolver_hybrids.;
168
169 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type# * gsl_multiroot_fdfsolver_newtoncxx . . $ gsl_multiroot_fdfsolver_newton.;
170 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type# * gsl_multiroot_fdfsolver_gnewtoncxx . . $ gsl_multiroot_fdfsolver_gnewton.;
171 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type# * gsl_multiroot_fdfsolver_hybridjcxx . . $ gsl_multiroot_fdfsolver_hybridj.;
172 GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_multiroot_fdfsolver_typecxx . . $ gsl_multiroot_fdfsolver_type# * gsl_multiroot_fdfsolver_hybridsjcxx . . $ gsl_multiroot_fdfsolver_hybridsj.;
173
174
175 __END_DECLScxx . . $ `external/gsl/gsl_multiroots.h:36:10`!
176
177 #endif /* __GSL_MULTIROOTS_H__ */