| 1 | /* min/gsl_min.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_MIN_H__ |
| 21 | #define __GSL_MIN_H__cxx . . $ `external/gsl/gsl_min.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_errno.h:34:10`! |
| 29 | #ifdef __cplusplus |
| 30 | # define __BEGIN_DECLS extern "C" { |
| 31 | # define __END_DECLS } |
| 32 | #else |
| 33 | # define __BEGIN_DECLScxx . . $ `external/gsl/gsl_min.h:33:10`! /* empty */ |
| 34 | # define __END_DECLScxx . . $ `external/gsl/gsl_min.h:34:10`! /* empty */ |
| 35 | #endif |
| 36 | |
| 37 | __BEGIN_DECLScxx . . $ `external/gsl/gsl_min.h:33:10`! |
| 38 | |
| 39 | typedef structcxx . . $ $anonymous_type_cc74a02299486ef8_0# |
| 40 | { |
| 41 | const char *namecxx . . $ $anonymous_type_cc74a02299486ef8_0#name.; |
| 42 | size_t sizecxx . . $ $anonymous_type_cc74a02299486ef8_0#size.; |
| 43 | int (*setcxx . . $ $anonymous_type_cc74a02299486ef8_0#set.) (void *state, gsl_functioncxx . . $ gsl_function# * f, double x_minimum, double f_minimum, double x_lower, double f_lower, double x_upper, double f_upper); |
| 44 | int (*iteratecxx . . $ $anonymous_type_cc74a02299486ef8_0#iterate.) (void *state, gsl_functioncxx . . $ gsl_function# * f, double * x_minimum, double * f_minimum, double * x_lower, double * f_lower, double * x_upper, double * f_upper); |
| 45 | } |
| 46 | gsl_min_fminimizer_typecxx . . $ gsl_min_fminimizer_type#; |
| 47 | |
| 48 | typedef structcxx . . $ $anonymous_type_cc74a02299486ef8_1# |
| 49 | { |
| 50 | const gsl_min_fminimizer_typecxx . . $ gsl_min_fminimizer_type# * typecxx . . $ $anonymous_type_cc74a02299486ef8_1#type.; |
| 51 | gsl_functioncxx . . $ gsl_function# * functioncxx . . $ $anonymous_type_cc74a02299486ef8_1#function. ; |
| 52 | double x_minimumcxx . . $ $anonymous_type_cc74a02299486ef8_1#x_minimum. ; |
| 53 | double x_lowercxx . . $ $anonymous_type_cc74a02299486ef8_1#x_lower. ; |
| 54 | double x_uppercxx . . $ $anonymous_type_cc74a02299486ef8_1#x_upper. ; |
| 55 | double f_minimumcxx . . $ $anonymous_type_cc74a02299486ef8_1#f_minimum., f_lowercxx . . $ $anonymous_type_cc74a02299486ef8_1#f_lower., f_uppercxx . . $ $anonymous_type_cc74a02299486ef8_1#f_upper.; |
| 56 | void *statecxx . . $ $anonymous_type_cc74a02299486ef8_1#state.; |
| 57 | } |
| 58 | gsl_min_fminimizercxx . . $ gsl_min_fminimizer#; |
| 59 | |
| 60 | gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * |
| 61 | gsl_min_fminimizer_alloccxx . . $ gsl_min_fminimizer_alloc(fc570d74b7bceec). (const gsl_min_fminimizer_typecxx . . $ gsl_min_fminimizer_type# * T) ; |
| 62 | |
| 63 | void gsl_min_fminimizer_freecxx . . $ gsl_min_fminimizer_free(a16034741e03178f). (gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 64 | |
| 65 | int gsl_min_fminimizer_setcxx . . $ gsl_min_fminimizer_set(7bf25571395b909d). (gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s, |
| 66 | gsl_functioncxx . . $ gsl_function# * f, double x_minimum, |
| 67 | double x_lower, double x_upper); |
| 68 | |
| 69 | int gsl_min_fminimizer_set_with_valuescxx . . $ gsl_min_fminimizer_set_with_values(cacbdb649db49b46). (gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s, |
| 70 | gsl_functioncxx . . $ gsl_function# * f, |
| 71 | double x_minimum, double f_minimum, |
| 72 | double x_lower, double f_lower, |
| 73 | double x_upper, double f_upper); |
| 74 | |
| 75 | int gsl_min_fminimizer_iteratecxx . . $ gsl_min_fminimizer_iterate(3113653096e50c6a). (gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 76 | |
| 77 | const char * gsl_min_fminimizer_namecxx . . $ gsl_min_fminimizer_name(6798ce9fc236abc8). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 78 | |
| 79 | double gsl_min_fminimizer_x_minimumcxx . . $ gsl_min_fminimizer_x_minimum(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 80 | double gsl_min_fminimizer_x_lowercxx . . $ gsl_min_fminimizer_x_lower(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 81 | double gsl_min_fminimizer_x_uppercxx . . $ gsl_min_fminimizer_x_upper(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 82 | double gsl_min_fminimizer_f_minimumcxx . . $ gsl_min_fminimizer_f_minimum(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 83 | double gsl_min_fminimizer_f_lowercxx . . $ gsl_min_fminimizer_f_lower(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 84 | double gsl_min_fminimizer_f_uppercxx . . $ gsl_min_fminimizer_f_upper(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 85 | |
| 86 | /* Deprecated, use x_minimum instead */ |
| 87 | double gsl_min_fminimizer_minimumcxx . . $ gsl_min_fminimizer_minimum(a5b5379153981471). (const gsl_min_fminimizercxx . . $ gsl_min_fminimizer# * s); |
| 88 | |
| 89 | int |
| 90 | gsl_min_test_intervalcxx . . $ gsl_min_test_interval(d065832d40e48504). (double x_lower, double x_upper, double epsabs, double epsrel); |
| 91 | |
| 92 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_min_fminimizer_typecxx . . $ gsl_min_fminimizer_type# * gsl_min_fminimizer_goldensectioncxx . . $ gsl_min_fminimizer_goldensection.; |
| 93 | GSL_VARcxx . . $ `external/gsl/gsl_types.h:36:11`! const gsl_min_fminimizer_typecxx . . $ gsl_min_fminimizer_type# * gsl_min_fminimizer_brentcxx . . $ gsl_min_fminimizer_brent.; |
| 94 | |
| 95 | typedef |
| 96 | int (*gsl_min_bracketing_functioncxx . . $ gsl_min_bracketing_function#)(gsl_functioncxx . . $ gsl_function# *f, |
| 97 | double *x_minimum,double * f_minimum, |
| 98 | double *x_lower, double * f_lower, |
| 99 | double *x_upper, double * f_upper, |
| 100 | size_t eval_max); |
| 101 | |
| 102 | int |
| 103 | gsl_min_find_bracketcxx . . $ gsl_min_find_bracket(d03649aed9ab0ffb).(gsl_functioncxx . . $ gsl_function# *f,double *x_minimum,double * f_minimum, |
| 104 | double *x_lower, double * f_lower, |
| 105 | double *x_upper, double * f_upper, |
| 106 | size_t eval_max); |
| 107 | |
| 108 | __END_DECLScxx . . $ `external/gsl/gsl_min.h:34:10`! |
| 109 | |
| 110 | #endif /* __GSL_MIN_H__ */ |