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