| 1 | /* roots/gsl_roots.h |
| 2 | * |
| 3 | * Copyright (C) 1996, 1997, 1998, 1999, 2000, 2007 Reid Priedhorsky, 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_ROOTS_H__ |
| 21 | #define __GSL_ROOTS_H__cxx . . $ `external/gsl/gsl_roots.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 | |
| 27 | #undef __BEGIN_DECLScxx . . $ `external/gsl/gsl_math.h:104:10`! |
| 28 | #undef __END_DECLScxx . . $ `external/gsl/gsl_math.h:105:10`! |
| 29 | #ifdef __cplusplus |
| 30 | # define __BEGIN_DECLS extern "C" { |
| 31 | # define __END_DECLS } |
| 32 | #else |
| 33 | # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_roots.h:33:10`! /* empty */ |
| 34 | # define __END_DECLScxx . . $ `external/gsl/gsl_roots.h:34:10`! /* empty */ |
| 35 | #endif |
| 36 | |
| 37 | __BEGIN_DECLScxx . . $ `external/gsl/gsl_roots.h:33:10`! |
| 38 | |
| 39 | typedef structcxx . . $ $anonymous_type_e6d985e34a433613_0# |
| 40 | { |
| 41 | const char *namecxx . . $ $anonymous_type_e6d985e34a433613_0#name.; |
| 42 | size_t sizecxx . . $ $anonymous_type_e6d985e34a433613_0#size.; |
| 43 | int (*setcxx . . $ $anonymous_type_e6d985e34a433613_0#set.) (void *state, gsl_functioncxx . . $ gsl_function# * f, double * root, double x_lower, double x_upper); |
| 44 | int (*iteratecxx . . $ $anonymous_type_e6d985e34a433613_0#iterate.) (void *state, gsl_functioncxx . . $ gsl_function# * f, double * root, double * x_lower, double * x_upper); |
| 45 | } |
| 46 | gsl_root_fsolver_typecxx . . $ gsl_root_fsolver_type#; |
| 47 | |
| 48 | typedef structcxx . . $ $anonymous_type_e6d985e34a433613_1# |
| 49 | { |
| 50 | const gsl_root_fsolver_typecxx . . $ gsl_root_fsolver_type# * typecxx . . $ $anonymous_type_e6d985e34a433613_1#type.; |
| 51 | gsl_functioncxx . . $ gsl_function# * functioncxx . . $ $anonymous_type_e6d985e34a433613_1#function. ; |
| 52 | double rootcxx . . $ $anonymous_type_e6d985e34a433613_1#root. ; |
| 53 | double x_lowercxx . . $ $anonymous_type_e6d985e34a433613_1#x_lower.; |
| 54 | double x_uppercxx . . $ $anonymous_type_e6d985e34a433613_1#x_upper.; |
| 55 | void *statecxx . . $ $anonymous_type_e6d985e34a433613_1#state.; |
| 56 | } |
| 57 | gsl_root_fsolvercxx . . $ gsl_root_fsolver#; |
| 58 | |
| 59 | typedef structcxx . . $ $anonymous_type_e6d985e34a433613_2# |
| 60 | { |
| 61 | const char *namecxx . . $ $anonymous_type_e6d985e34a433613_2#name.; |
| 62 | size_t sizecxx . . $ $anonymous_type_e6d985e34a433613_2#size.; |
| 63 | int (*setcxx . . $ $anonymous_type_e6d985e34a433613_2#set.) (void *state, gsl_function_fdfcxx . . $ gsl_function_fdf# * f, double * root); |
| 64 | int (*iteratecxx . . $ $anonymous_type_e6d985e34a433613_2#iterate.) (void *state, gsl_function_fdfcxx . . $ gsl_function_fdf# * f, double * root); |
| 65 | } |
| 66 | gsl_root_fdfsolver_typecxx . . $ gsl_root_fdfsolver_type#; |
| 67 | |
| 68 | typedef structcxx . . $ $anonymous_type_e6d985e34a433613_3# |
| 69 | { |
| 70 | const gsl_root_fdfsolver_typecxx . . $ gsl_root_fdfsolver_type# * typecxx . . $ $anonymous_type_e6d985e34a433613_3#type.; |
| 71 | gsl_function_fdfcxx . . $ gsl_function_fdf# * fdfcxx . . $ $anonymous_type_e6d985e34a433613_3#fdf. ; |
| 72 | double rootcxx . . $ $anonymous_type_e6d985e34a433613_3#root. ; |
| 73 | void *statecxx . . $ $anonymous_type_e6d985e34a433613_3#state.; |
| 74 | } |
| 75 | gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver#; |
| 76 | |
| 77 | gsl_root_fsolvercxx . . $ gsl_root_fsolver# * |
| 78 | gsl_root_fsolver_alloccxx . . $ gsl_root_fsolver_alloc(2e3005c3f548f15). (const gsl_root_fsolver_typecxx . . $ gsl_root_fsolver_type# * T); |
| 79 | void gsl_root_fsolver_freecxx . . $ gsl_root_fsolver_free(937e4d5c5f520a71). (gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s); |
| 80 | |
| 81 | int gsl_root_fsolver_setcxx . . $ gsl_root_fsolver_set(593d7099895f72ac). (gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s, |
| 82 | gsl_functioncxx . . $ gsl_function# * f, |
| 83 | double x_lower, double x_upper); |
| 84 | |
| 85 | int gsl_root_fsolver_iteratecxx . . $ gsl_root_fsolver_iterate(7c51a73a986966c1). (gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s); |
| 86 | |
| 87 | const char * gsl_root_fsolver_namecxx . . $ gsl_root_fsolver_name(d0109fbf98111e4a). (const gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s); |
| 88 | double gsl_root_fsolver_rootcxx . . $ gsl_root_fsolver_root(226417d0bf9e6b94). (const gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s); |
| 89 | double gsl_root_fsolver_x_lowercxx . . $ gsl_root_fsolver_x_lower(226417d0bf9e6b94). (const gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s); |
| 90 | double gsl_root_fsolver_x_uppercxx . . $ gsl_root_fsolver_x_upper(226417d0bf9e6b94). (const gsl_root_fsolvercxx . . $ gsl_root_fsolver# * s); |
| 91 | |
| 92 | |
| 93 | gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver# * |
| 94 | gsl_root_fdfsolver_alloccxx . . $ gsl_root_fdfsolver_alloc(3a036ca8b967bea5). (const gsl_root_fdfsolver_typecxx . . $ gsl_root_fdfsolver_type# * T); |
| 95 | |
| 96 | int |
| 97 | gsl_root_fdfsolver_setcxx . . $ gsl_root_fdfsolver_set(9e219c66c6445b9a). (gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver# * s, |
| 98 | gsl_function_fdfcxx . . $ gsl_function_fdf# * fdf, double root); |
| 99 | |
| 100 | int |
| 101 | gsl_root_fdfsolver_iteratecxx . . $ gsl_root_fdfsolver_iterate(ea9cfa11395260e8). (gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver# * s); |
| 102 | |
| 103 | void |
| 104 | gsl_root_fdfsolver_freecxx . . $ gsl_root_fdfsolver_free(c3153b95eb084790). (gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver# * s); |
| 105 | |
| 106 | const char * gsl_root_fdfsolver_namecxx . . $ gsl_root_fdfsolver_name(5365278d9c56f6cd). (const gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver# * s); |
| 107 | double gsl_root_fdfsolver_rootcxx . . $ gsl_root_fdfsolver_root(f118bdddb609029a). (const gsl_root_fdfsolvercxx . . $ gsl_root_fdfsolver# * s); |
| 108 | |
| 109 | int |
| 110 | gsl_root_test_intervalcxx . . $ gsl_root_test_interval(d065832d40e48504). (double x_lower, double x_upper, double epsabs, double epsrel); |
| 111 | |
| 112 | int |
| 113 | gsl_root_test_residualcxx . . $ gsl_root_test_residual(1a35796978658aa4). (double f, double epsabs); |
| 114 | |
| 115 | int |
| 116 | gsl_root_test_deltacxx . . $ gsl_root_test_delta(d065832d40e48504). (double x1, double x0, double epsabs, double epsrel); |
| 117 | |
| 118 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_root_fsolver_typecxx . . $ gsl_root_fsolver_type# * gsl_root_fsolver_bisectioncxx . . $ gsl_root_fsolver_bisection.; |
| 119 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_root_fsolver_typecxx . . $ gsl_root_fsolver_type# * gsl_root_fsolver_brentcxx . . $ gsl_root_fsolver_brent.; |
| 120 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_root_fsolver_typecxx . . $ gsl_root_fsolver_type# * gsl_root_fsolver_falseposcxx . . $ gsl_root_fsolver_falsepos.; |
| 121 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_root_fdfsolver_typecxx . . $ gsl_root_fdfsolver_type# * gsl_root_fdfsolver_newtoncxx . . $ gsl_root_fdfsolver_newton.; |
| 122 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_root_fdfsolver_typecxx . . $ gsl_root_fdfsolver_type# * gsl_root_fdfsolver_secantcxx . . $ gsl_root_fdfsolver_secant.; |
| 123 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_root_fdfsolver_typecxx . . $ gsl_root_fdfsolver_type# * gsl_root_fdfsolver_steffensoncxx . . $ gsl_root_fdfsolver_steffenson.; |
| 124 | |
| 125 | __END_DECLScxx . . $ `external/gsl/gsl_roots.h:34:10`! |
| 126 | |
| 127 | #endif /* __GSL_ROOTS_H__ */ |