Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Minuit2::MnSimplex Class Reference

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 MnUserParameters &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + MnUserParameters + MnUserCovariance
 
 MnSimplex (const FCNBase &fcn, const MnUserParameters &par, unsigned int stra=1)
 construct from FCNBase + MnUserParameters
 
 MnSimplex (const FCNBase &fcn, const MnUserParameterState &par, const MnStrategy &str)
 construct from FCNBase + MnUserParameterState + MnStrategy
 
 MnSimplex (const FCNBase &fcn, const std::vector< double > &par, const MnUserCovariance &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and MnUserCovariance
 
 MnSimplex (const FCNBase &fcn, const std::vector< double > &par, const std::vector< double > &err, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and errors
 
 MnSimplex (const FCNBase &fcn, const std::vector< double > &par, unsigned int nrow, const std::vector< double > &cov, unsigned int stra=1)
 construct from FCNBase + std::vector for parameters and covariance
 
 MnSimplex (const MnSimplex &migr)
 
 ~MnSimplex ()
 
ModularFunctionMinimizerMinimizer ()
 
const ModularFunctionMinimizerMinimizer () const
 
- 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
 
 MnApplication (const FCNGradientBase &fcn, const MnUserParameterState &state, const MnStrategy &stra, unsigned int nfcn=0)
 constructor from gradient function
 
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 MnUserCovarianceCovariance () const
 
double Error (const char *) const
 
double Error (unsigned int) const
 
std::vector< doubleErrors () const
 
double Ext2int (unsigned int, double) const
 
unsigned int ExtOfInt (unsigned int) const
 
virtual const FCNBaseFcnbase () 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 MinuitParameterParameter (unsigned int i) const
 
const MnUserParametersParameters () const
 
std::vector< doubleParams () const
 
const MnMachinePrecisionPrecision () 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 MnUserParameterStateState () const
 
const MnStrategyStrategy () const
 
double Value (const char *) const
 
double Value (unsigned int) const
 
unsigned int VariableParameters () const
 

Private Member Functions

MnSimplexoperator= (const MnSimplex &)
 

Private Attributes

SimplexMinimizer fMinimizer
 

Additional Inherited Members

- Protected Attributes inherited from ROOT::Minuit2::MnApplication
const FCNBasefFCN
 
unsigned int fNumCall
 
MnUserParameterState fState
 
MnStrategy fStrategy
 
bool fUseGrad
 

#include <Minuit2/MnSimplex.h>

Inheritance diagram for ROOT::Minuit2::MnSimplex:
[legend]

Constructor & Destructor Documentation

◆ MnSimplex() [1/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const FCNBase fcn,
const std::vector< double > &  par,
const std::vector< double > &  err,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and errors

Definition at line 39 of file MnSimplex.h.

◆ MnSimplex() [2/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const FCNBase fcn,
const std::vector< double > &  par,
unsigned int  nrow,
const std::vector< double > &  cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and covariance

Definition at line 45 of file MnSimplex.h.

◆ MnSimplex() [3/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const FCNBase fcn,
const std::vector< double > &  par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + std::vector for parameters and MnUserCovariance

Definition at line 52 of file MnSimplex.h.

◆ MnSimplex() [4/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const FCNBase fcn,
const MnUserParameters par,
unsigned int  stra = 1 
)
inline

construct from FCNBase + MnUserParameters

Definition at line 58 of file MnSimplex.h.

◆ MnSimplex() [5/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const FCNBase fcn,
const MnUserParameters par,
const MnUserCovariance cov,
unsigned int  stra = 1 
)
inline

construct from FCNBase + MnUserParameters + MnUserCovariance

Definition at line 64 of file MnSimplex.h.

◆ MnSimplex() [6/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const FCNBase fcn,
const MnUserParameterState par,
const MnStrategy str 
)
inline

construct from FCNBase + MnUserParameterState + MnStrategy

Definition at line 70 of file MnSimplex.h.

◆ MnSimplex() [7/7]

ROOT::Minuit2::MnSimplex::MnSimplex ( const MnSimplex migr)
inline

Definition at line 75 of file MnSimplex.h.

◆ ~MnSimplex()

ROOT::Minuit2::MnSimplex::~MnSimplex ( )
inline

Definition at line 80 of file MnSimplex.h.

Member Function Documentation

◆ Minimizer() [1/2]

ModularFunctionMinimizer & ROOT::Minuit2::MnSimplex::Minimizer ( )
inlinevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 82 of file MnSimplex.h.

◆ Minimizer() [2/2]

const ModularFunctionMinimizer & ROOT::Minuit2::MnSimplex::Minimizer ( ) const
inlinevirtual

Implements ROOT::Minuit2::MnApplication.

Definition at line 83 of file MnSimplex.h.

◆ operator=()

MnSimplex & ROOT::Minuit2::MnSimplex::operator= ( const MnSimplex )
inlineprivate

Definition at line 90 of file MnSimplex.h.

Member Data Documentation

◆ fMinimizer

SimplexMinimizer ROOT::Minuit2::MnSimplex::fMinimizer
private

Definition at line 86 of file MnSimplex.h.

Libraries for ROOT::Minuit2::MnSimplex:

The documentation for this class was generated from the following file: