1 /* multimin/test_funcs.h
3 * Copyright (C) 1996, 1997, 1998, 1999, 2000 Fabrice Rossi
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.
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.
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.
20 extern unsigned int fcount, gcount;
22 typedef void (*initpt_function) (gsl_vector * x);
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);
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);
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);
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);
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);
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);