chiark / gitweb /
fixed incorrect termination code
[nlopt.git] / mma / mma.h
1 #ifndef MMA_H
2 #define MMA_H
3
4 #include "nlopt.h"
5 #include "nlopt-util.h"
6
7 #ifdef __cplusplus
8 extern "C"
9 {
10 #endif /* __cplusplus */
11
12 nlopt_result mma_minimize(int n, nlopt_func f, void *f_data,
13                           const double *lb, const double *ub, /* bounds */
14                           double *x, /* in: initial guess, out: minimizer */
15                           double *minf,
16                           nlopt_stopping *stop);
17
18 #ifdef __cplusplus
19 }  /* extern "C" */
20 #endif /* __cplusplus */
21
22 #endif
23