Added script front-end for primer-design code
[htsworkflow.git] / htswanalysis / MACS / lib / gsl / gsl-1.11 / multimin / test_funcs.h
1 /* multimin/test_funcs.h
2  * 
3  * Copyright (C) 1996, 1997, 1998, 1999, 2000 Fabrice Rossi
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 extern unsigned int fcount, gcount;
21
22 typedef void (*initpt_function) (gsl_vector * x);
23
24 extern gsl_multimin_function_fdf rosenbrock;
25 extern gsl_multimin_function rosenbrock_fmin;
26 void rosenbrock_initpt (gsl_vector * x);
27 double rosenbrock_f (const gsl_vector * x, void *params);
28 void rosenbrock_df (const gsl_vector * x, void *params, gsl_vector * df);
29 void rosenbrock_fdf (const gsl_vector * x, void *params, double * f, gsl_vector * df);
30
31 extern gsl_multimin_function_fdf wood;
32 extern gsl_multimin_function wood_fmin;
33 void wood_initpt (gsl_vector * x);
34 double wood_f (const gsl_vector * x, void *params);
35 void wood_df (const gsl_vector * x, void *params, gsl_vector * df);
36 void wood_fdf (const gsl_vector * x, void *params, double * f, gsl_vector * df);
37
38 extern gsl_multimin_function_fdf roth;
39 extern gsl_multimin_function roth_fmin;
40 void roth_initpt (gsl_vector * x);
41 double roth_f (const gsl_vector * x, void *params);
42 void roth_df (const gsl_vector * x, void *params, gsl_vector * df);
43 void roth_fdf (const gsl_vector * x, void *params, double * f, gsl_vector * df);
44
45 extern gsl_multimin_function_fdf Nrosenbrock;
46 void Nrosenbrock_df (const gsl_vector * x, void *params, gsl_vector * df);
47 void Nrosenbrock_fdf (const gsl_vector * x, void *params, double * f, gsl_vector * df);
48
49 extern gsl_multimin_function_fdf Nroth;
50 void Nroth_df (const gsl_vector * x, void *params, gsl_vector * df);
51 void Nroth_fdf (const gsl_vector * x, void *params, double * f, gsl_vector * df);
52
53 extern gsl_multimin_function_fdf Nwood;
54 void Nwood_df (const gsl_vector * x, void *params, gsl_vector * df);
55 void Nwood_fdf (const gsl_vector * x, void *params, double * f, gsl_vector * df);
56