27 template<
typename FUNC>
void nelmin (FUNC &fn,
int n,
double start[],
double xmin[],
28 double *ynewlo,
double reqmin, std::vector<double> &step,
int konvge,
int kcount,
29 int *icount,
int *numres,
int *ifault );
35 std::vector<double> vals;
36 std::vector<double> steps;
38 std::vector<bool> fixed;
49 void Minimize(std::function<
double(
const double*)> infn);
51 void SetVariable(
int index,
const char* name,
double initialval,
double step);
52 void SetVariableValue(
int index,
double value);
53 void FixVariable(
int n);
54 void ReleaseVariable(
int n);
55 void SetMaxFunctionCalls(
int ncalls);
56 void SetMaxIterations(
int nits);
57 void SetTolerance(
double tol);
58 void SetPrintLevel(
int level);
Definition: neldermead.h:32