chiark / gitweb /
0a7f1dc8efe154c408780afce63f59544db16b78
[nlopt.git] / subplex / subplex.h
1 #ifndef SUBPLEX_H
2 #define SUBPLEX_H
3
4 #include "nlopt-util.h"
5
6 #ifdef __cplusplus
7 extern "C"
8 {
9 #endif /* __cplusplus */
10
11 typedef double (*subplex_func)(int n, const double *x, void *func_data);
12
13 extern int nlopt_subplex(subplex_func f, double *minf, double *x, int n, void *fdata,
14                    nlopt_stopping *stop,
15                    const double *scale);
16
17 #ifdef __cplusplus
18 }  /* extern "C" */
19 #endif /* __cplusplus */
20
21 #endif