5#ifndef ROOT_Math_RMinimizer
6#define ROOT_Math_RMinimizer
55 virtual unsigned int NCalls()
const;
66 virtual double CovMatrix(
unsigned int ivar ,
unsigned int jvar )
const {
Base Minimizer class, which defines the basic funcionality of various minimizer implementations (apar...
virtual unsigned int NDim() const
number of dimensions
double HessMatrix(unsigned int i, unsigned int j) const
Returns the ith jth component of the Hessian matrix.
virtual const double * Errors() const
return errors at the minimum
virtual unsigned int NCalls() const
Returns the number of function calls.
virtual double CovMatrix(unsigned int ivar, unsigned int jvar) const
return covariance matrices element for variables ivar,jvar if the variable is fixed the return value ...
virtual ~RMinimizer()
Destructor.
virtual bool GetCovMatrix(double *covMat) const
Fill the passed array with the covariance matrix elements if the variable is fixed or const the value...
TMatrixD fCovMatrix
covariant matrix
std::vector< double > fErrors
vector of parameter errors
std::string fMethod
minimizer method to be used, must be of a type listed in R optim or optimx descriptions
RMinimizer(Option_t *method)
Default constructor.
virtual bool ProvidesError() const
minimizer provides error and error matrix
TMatrixD fHessMatrix
Hessian matrix.
virtual bool Minimize()
Function to find the minimum.
virtual const Element * GetMatrixArray() const
Namespace for new Math classes and functions.
Namespace for new ROOT classes and functions.