chiark / gitweb /
baaf4afeb171e9f15268928abbeaed49d18b7b36
[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                            double rhobeg, nlopt_stopping *stop, double *minf,
11                            newuoa_func calfun, void *calfun_data);
12
13 #endif /* NEWUOA_H */