5 #ifndef ROOT_Math_RMinimizer 6 #define ROOT_Math_RMinimizer 9 #ifndef ROOT_Math_Functor 13 #ifndef ROOT_Math_IParamFunctionfwd 17 #ifndef ROOT_Math_BasicMinimizer 63 virtual unsigned int NCalls()
const;
65 double HessMatrix(
unsigned int i,
unsigned int j)
const;
69 virtual const double *
Errors()
const {
return fErrors.data(); }
74 virtual double CovMatrix(
unsigned int ivar ,
unsigned int jvar )
const {
87 if (fCovMatrix.
GetNrows() != ndim || fCovMatrix.
GetNcols() != ndim )
return false;
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 ...
This namespace contains pre-defined functions to be used in conjuction with TExecutor::Map and TExecu...
RMinimizer(Option_t *method)
Default constructor.
TMatrixD fCovMatrix
covariant matrix
std::string fMethod
minimizer method to be used, must be of a type listed in R optim or optimx descriptions ...
virtual unsigned int NCalls() const
Returns the number of function calls.
std::vector< double > fErrors
vector of parameter errors
Base Minimizer class, which defines the basic funcionality of various minimizer implementations (apar...
virtual ~RMinimizer()
Destructor.
virtual bool Minimize()
Function to find the minimum.
virtual const double * Errors() const
return errors at the minimum
virtual unsigned int NDim() const
number of dimensions
virtual const Element * GetMatrixArray() const
TMatrixD fHessMatrix
Hessian matrix.
Namespace for new Math classes and functions.
double HessMatrix(unsigned int i, unsigned int j) const
Returns the ith jth component of the Hessian matrix.
virtual bool GetCovMatrix(double *covMat) const
Fill the passed array with the covariance matrix elements if the variable is fixed or const the value...
virtual bool ProvidesError() const
minimizer provides error and error matrix