application interface class for minimizers (migrad, simplex, Minimize, Scan) User normally instantiates the derived class like ROOT::Minuit2::MnMigrad for using Migrad for minimization
Definition at line 36 of file MnApplication.h.
Public Member Functions | |
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 |
virtual const ModularFunctionMinimizer & | Minimizer () const =0 |
virtual ModularFunctionMinimizer & | Minimizer ()=0 |
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 |
Protected Attributes | |
const FCNBase & | fFCN |
unsigned int | fNumCall |
MnUserParameterState | fState |
MnStrategy | fStrategy |
#include <Minuit2/MnApplication.h>
ROOT::Minuit2::MnApplication::MnApplication | ( | const FCNBase & | fcn, |
const MnUserParameterState & | state, | ||
const MnStrategy & | stra, | ||
unsigned int | nfcn = 0 |
||
) |
constructor from non-gradient functions
Definition at line 21 of file MnApplication.cxx.
|
inlinevirtual |
Definition at line 42 of file MnApplication.h.
void ROOT::Minuit2::MnApplication::Add | ( | const char * | name, |
double | val | ||
) |
Definition at line 101 of file MnApplication.cxx.
Definition at line 89 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::Add | ( | const char * | Name, |
double | val, | ||
double | err, | ||
double | low, | ||
double | up | ||
) |
Definition at line 95 of file MnApplication.cxx.
|
inline |
Definition at line 61 of file MnApplication.h.
double ROOT::Minuit2::MnApplication::Error | ( | const char * | i | ) | const |
Definition at line 179 of file MnApplication.cxx.
Definition at line 140 of file MnApplication.cxx.
std::vector< double > ROOT::Minuit2::MnApplication::Errors | ( | ) | const |
Definition at line 78 of file MnApplication.cxx.
Definition at line 201 of file MnApplication.cxx.
Definition at line 211 of file MnApplication.cxx.
|
inlinevirtual |
Reimplemented in ROOT::Minuit2::MnFumiliMinimize.
Definition at line 62 of file MnApplication.h.
void ROOT::Minuit2::MnApplication::Fix | ( | const char * | i | ) |
Definition at line 146 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::Fix | ( | unsigned int | i | ) |
Definition at line 108 of file MnApplication.cxx.
unsigned int ROOT::Minuit2::MnApplication::Index | ( | const char * | name | ) | const |
Definition at line 184 of file MnApplication.cxx.
Definition at line 196 of file MnApplication.cxx.
Definition at line 206 of file MnApplication.cxx.
|
pure virtual |
|
pure virtual |
const std::vector< MinuitParameter > & ROOT::Minuit2::MnApplication::MinuitParameters | ( | ) | const |
Definition at line 68 of file MnApplication.cxx.
const char * ROOT::Minuit2::MnApplication::Name | ( | unsigned int | i | ) | const |
Definition at line 190 of file MnApplication.cxx.
|
inline |
Definition at line 64 of file MnApplication.h.
|
virtual |
Minimize the function.
maxfcn | : max number of function calls (if = 0) default is used which is set to 200 + 100 * npar + 5 * npar**2 |
tolerance | : value used for terminating iteration procedure. For example, MIGRAD will stop iterating when edm (expected distance from minimum) will be: edm < tolerance * 10**-3 Default value of tolerance used is 0.1 |
Reimplemented in ROOT::Minuit2::MnFumiliMinimize.
Definition at line 27 of file MnApplication.cxx.
const MinuitParameter & ROOT::Minuit2::MnApplication::Parameter | ( | unsigned int | i | ) | const |
Definition at line 83 of file MnApplication.cxx.
|
inline |
Definition at line 60 of file MnApplication.h.
std::vector< double > ROOT::Minuit2::MnApplication::Params | ( | ) | const |
Definition at line 74 of file MnApplication.cxx.
|
inline |
Definition at line 58 of file MnApplication.h.
void ROOT::Minuit2::MnApplication::Release | ( | const char * | i | ) |
Definition at line 150 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::Release | ( | unsigned int | i | ) |
Definition at line 112 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::RemoveLimits | ( | const char * | i | ) |
Definition at line 166 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::RemoveLimits | ( | unsigned int | i | ) |
Definition at line 131 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::SetError | ( | const char * | i, |
double | val | ||
) |
Definition at line 158 of file MnApplication.cxx.
Definition at line 121 of file MnApplication.cxx.
Definition at line 162 of file MnApplication.cxx.
Definition at line 126 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::SetPrecision | ( | double | eps | ) |
Definition at line 170 of file MnApplication.cxx.
void ROOT::Minuit2::MnApplication::SetValue | ( | const char * | i, |
double | val | ||
) |
Definition at line 154 of file MnApplication.cxx.
Definition at line 116 of file MnApplication.cxx.
|
inline |
Definition at line 59 of file MnApplication.h.
|
inline |
Definition at line 63 of file MnApplication.h.
double ROOT::Minuit2::MnApplication::Value | ( | const char * | i | ) | const |
Definition at line 175 of file MnApplication.cxx.
Definition at line 136 of file MnApplication.cxx.
unsigned int ROOT::Minuit2::MnApplication::VariableParameters | ( | ) | const |
Definition at line 216 of file MnApplication.cxx.
|
protected |
Definition at line 67 of file MnApplication.h.
|
protected |
Definition at line 70 of file MnApplication.h.
|
protected |
Definition at line 68 of file MnApplication.h.
|
protected |
Definition at line 69 of file MnApplication.h.