chiark / gitweb /
b2700694060f64a0a66d091bc03c0bd1a3934b96
[nlopt.git] / newuoa / newuoa.h
1 #ifndef NEWUOA_H
2 #define NEWUOA_H 1
3
4 #include "nlopt-util.h"
5 #include "nlopt.h"
6
7 typedef double (*newuoa_func)(int n, const double *x, void *func_data);
8
9 extern nlopt_result newuoa(int n, int npt, double *x, 
10                            const double *lb, const double *ub,
11                            double rhobeg, nlopt_stopping *stop, double *minf,
12                            newuoa_func calfun, void *calfun_data);
13
14 #endif /* NEWUOA_H */