CC Localization
|
Optimizer with Nelder–Mead method for functions with N arguments. More...
#include <nelder_mead.hxx>
Public Types | |
typedef std::array< double, N > | vec_t |
parameter space | |
typedef std::function< double(vec_t const &)> | fun_t |
minimized function | |
Public Member Functions | |
vec_t | minimize (fun_t fn, vec_t const &x0, vec_t const &step) |
<perform minimization More... | |
Optimizer with Nelder–Mead method for functions with N arguments.
Definition at line 11 of file nelder_mead.hxx.
|
inline |
<perform minimization
fn | function to be minimized |
x0 | starting point in parameter space |
step | step sizes for simplex construction |
Definition at line 26 of file nelder_mead.hxx.