API class for minimization using the Simplex method, which does not need and use the derivatives of the function, but only function values.
More information on the minimization method is available here.
It allows for user interaction: set/change parameters, do minimization, change parameters, re-do minimization etc.;
Definition at line 35 of file MnSimplex.h.
Public Member Functions | |
MnSimplex (const FCNBase &fcn, const MnUserParameterState &par, const MnStrategy &str=MnStrategy{1}) | |
construct from FCNBase + MnUserParameterState + MnStrategy | |
MnSimplex (const MnSimplex &migr) | |
const ModularFunctionMinimizer & | Minimizer () const override |
ModularFunctionMinimizer & | Minimizer () override |
Public Member Functions inherited from ROOT::Minuit2::MnApplication | |
MnApplication (const FCNBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0) | |
constructor from non-gradient functions | |
virtual | ~MnApplication () |
void | Add (const char *, double) |
void | Add (const char *Name, double val, double err) |
void | Add (const char *Name, double val, double err, double, double) |
const MnUserCovariance & | Covariance () const |
double | Error (const char *) const |
double | Error (unsigned int) const |
std::vector< double > | Errors () const |
double | Ext2int (unsigned int, double) const |
unsigned int | ExtOfInt (unsigned int) const |
virtual const FCNBase & | Fcnbase () const |
void | Fix (const char *) |
void | Fix (unsigned int) |
unsigned int | Index (const char *) const |
double | Int2ext (unsigned int, double) const |
unsigned int | IntOfExt (unsigned int) const |
const std::vector< ROOT::Minuit2::MinuitParameter > & | MinuitParameters () const |
const char * | Name (unsigned int) const |
unsigned int | NumOfCalls () const |
virtual FunctionMinimum | operator() (unsigned int maxfcn=0, double tolerance=0.1) |
Minimize the function. | |
const MinuitParameter & | Parameter (unsigned int i) const |
const MnUserParameters & | Parameters () const |
std::vector< double > | Params () const |
const MnMachinePrecision & | Precision () const |
void | Release (const char *) |
void | Release (unsigned int) |
void | RemoveLimits (const char *) |
void | RemoveLimits (unsigned int) |
void | SetError (const char *, double) |
void | SetError (unsigned int, double) |
void | SetLimits (const char *, double, double) |
void | SetLimits (unsigned int, double, double) |
void | SetPrecision (double) |
void | SetValue (const char *, double) |
void | SetValue (unsigned int, double) |
const MnUserParameterState & | State () const |
const MnStrategy & | Strategy () const |
double | Value (const char *) const |
double | Value (unsigned int) const |
unsigned int | VariableParameters () const |
Private Member Functions | |
MnSimplex & | operator= (const MnSimplex &) |
Private Attributes | |
SimplexMinimizer | fMinimizer |
Additional Inherited Members | |
Protected Attributes inherited from ROOT::Minuit2::MnApplication | |
const FCNBase & | fFCN |
unsigned int | fNumCall |
MnUserParameterState | fState |
MnStrategy | fStrategy |
#include <Minuit2/MnSimplex.h>
|
inline |
construct from FCNBase + MnUserParameterState + MnStrategy
Definition at line 39 of file MnSimplex.h.
|
inline |
Definition at line 44 of file MnSimplex.h.
|
inlineoverridevirtual |
Implements ROOT::Minuit2::MnApplication.
Definition at line 50 of file MnSimplex.h.
|
inlineoverridevirtual |
Implements ROOT::Minuit2::MnApplication.
Definition at line 49 of file MnSimplex.h.
Definition at line 57 of file MnSimplex.h.
|
private |
Definition at line 53 of file MnSimplex.h.