chiark / gitweb /
put source code into src subdirectory
[nlopt.git] / src / algs / praxis / praxis.h
1 #ifndef PRAXIS_H
2 #define PRAXIS_H
3
4 #include "nlopt-util.h"
5 #include "nlopt.h"
6
7 #ifdef __cplusplus
8 extern "C"
9 {
10 #endif /* __cplusplus */
11
12 typedef double (*praxis_func)(int n, const double *x, void *f_data);
13
14 nlopt_result praxis_(double t0, double machep, double h0,
15                      int n, double *x, praxis_func f, void *f_data, 
16                      nlopt_stopping *stop, double *minf);
17
18 #ifdef __cplusplus
19 }  /* extern "C" */
20 #endif /* __cplusplus */
21
22 #endif /* PRAXIS_H */