CC Localization
nelder_mead.hh
Go to the documentation of this file.
1
8
#pragma once
9
11
typedef
double (
func_t
)(
double
const
*);
12
14
extern
double
nelder_mead
(
15
func_t
f,
16
int
n,
17
double
* x,
18
double
const
* steps,
19
double
mxrngy = 0.00001,
20
double
mxrngx = 0.00001,
21
int
mxiter = 1000
22
);
func_t
double() func_t(double const *)
Function type with a number of parameters.
Definition:
nelder_mead.hh:11
nelder_mead
double nelder_mead(func_t f, int n, double *x, double const *steps, double mxrngy=0.00001, double mxrngx=0.00001, int mxiter=1000)
Perform minimization with Nelder–Mead method.
Definition:
nelder_mead.cc:12
Generated by
1.8.13