chiark / gitweb /
added first cut at Praxis, renamed constants
[nlopt.git] / praxis / praxis.h
1 #ifndef PRAXIS_H
2 #define PRAXIS_H
3
4 #ifdef __cplusplus
5 extern "C"
6 {
7 #endif /* __cplusplus */
8
9 typedef double (*praxis_func)(int n, const double *x, void *f_data);
10
11 double praxis_(double *t0, double *machep, double *h0,
12                int *n, double *x, praxis_func f, void *f_data);
13
14 #ifdef __cplusplus
15 }  /* extern "C" */
16 #endif /* __cplusplus */
17
18 #endif /* PRAXIS_H */