Inheritance diagram for ChebyQuadFunction:
Public Member Functions | |
ChebyQuadFunction (unsigned int n) | |
unsigned int | NDim () const |
ROOT::Math::IMultiGenFunction * | Clone () const |
const double * | TrueMinimum () const |
void | StartPoints (double *x, double *s) |
void | Gradient (const double *x, double *g) const |
ChebyQuadFunction (unsigned int n) | |
unsigned int | NDim () const |
ROOT::Math::IMultiGenFunction * | Clone () const |
const double * | TrueMinimum () const |
void | StartPoints (double *x, double *s) |
void | Gradient (const double *x, double *g) const |
Private Member Functions | |
double | DoEval (const double *x) const |
double | DoDerivative (const double *x, unsigned int i) const |
void | DoCalculatefi (const double *x) const |
double | DoEval (const double *x) const |
double | DoDerivative (const double *x, unsigned int i) const |
void | DoCalculatefi (const double *x) const |
Private Attributes | |
unsigned int | fDim |
std::vector< double > | fvec |
std::vector< double > | fTrueMin |
std::vector< double > | fvec |
std::vector< double > | fTrueMin |
Definition at line 256 of file testMinim.cxx.
ChebyQuadFunction::ChebyQuadFunction | ( | unsigned int | n | ) | [inline] |
ChebyQuadFunction::ChebyQuadFunction | ( | unsigned int | n | ) | [inline] |
Definition at line 263 of file testNewMinimizer.cxx.
unsigned int ChebyQuadFunction::NDim | ( | ) | const [inline, virtual] |
Retrieve the dimension of the function
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 267 of file testMinim.cxx.
ROOT::Math::IMultiGenFunction* ChebyQuadFunction::Clone | ( | ) | const [inline, virtual] |
Clone a function. Each derived class must implement his version of the Clone method
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 269 of file testMinim.cxx.
References ChebyQuadFunction().
const double* ChebyQuadFunction::TrueMinimum | ( | ) | const [inline] |
Evaluate all the vector of function derivatives (gradient) at a point x. Derived classes must re-implement it if more efficient than evaluting one at a time
Reimplemented from ROOT::Math::IGradientFunctionMultiDim.
Definition at line 287 of file testMinim.cxx.
References DoCalculatefi(), double, fvec, gNCall2, i, j, n, s1, s2, and t.
Referenced by DoDerivative().
Implementation of the evaluation function. Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 317 of file testMinim.cxx.
References DoCalculatefi(), fvec, gNCall, and i.
double ChebyQuadFunction::DoDerivative | ( | const double * | x, | |
unsigned int | i | |||
) | const [inline, private, virtual] |
function to evaluate the derivative with respect each coordinate. To be implemented by the derived class
Implements ROOT::Math::IGradientMultiDim.
Definition at line 329 of file testMinim.cxx.
References g, and Gradient().
void ChebyQuadFunction::DoCalculatefi | ( | const double * | x | ) | const [inline, private] |
unsigned int ChebyQuadFunction::NDim | ( | ) | const [inline, virtual] |
Retrieve the dimension of the function
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 270 of file testNewMinimizer.cxx.
ROOT::Math::IMultiGenFunction* ChebyQuadFunction::Clone | ( | ) | const [inline, virtual] |
Clone a function. Each derived class must implement his version of the Clone method
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 272 of file testNewMinimizer.cxx.
References ChebyQuadFunction().
const double* ChebyQuadFunction::TrueMinimum | ( | ) | const [inline] |
Evaluate all the vector of function derivatives (gradient) at a point x. Derived classes must re-implement it if more efficient than evaluting one at a time
Reimplemented from ROOT::Math::IGradientFunctionMultiDim.
Definition at line 290 of file testNewMinimizer.cxx.
References DoCalculatefi(), double, fvec, gNCall2, i, j, n, s1, s2, and t.
Implementation of the evaluation function. Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 320 of file testNewMinimizer.cxx.
References DoCalculatefi(), fvec, gNCall, and i.
double ChebyQuadFunction::DoDerivative | ( | const double * | x, | |
unsigned int | i | |||
) | const [inline, private, virtual] |
function to evaluate the derivative with respect each coordinate. To be implemented by the derived class
Implements ROOT::Math::IGradientMultiDim.
Definition at line 332 of file testNewMinimizer.cxx.
References g, and Gradient().
void ChebyQuadFunction::DoCalculatefi | ( | const double * | x | ) | const [inline, private] |
unsigned int ChebyQuadFunction::fDim [private] |
Definition at line 363 of file testMinim.cxx.
std::vector<double> ChebyQuadFunction::fvec [mutable, private] |
Definition at line 364 of file testMinim.cxx.
Referenced by DoCalculatefi(), DoEval(), and Gradient().
std::vector<double> ChebyQuadFunction::fTrueMin [mutable, private] |
std::vector<double> ChebyQuadFunction::fvec [mutable, private] |
Definition at line 367 of file testNewMinimizer.cxx.
std::vector<double> ChebyQuadFunction::fTrueMin [mutable, private] |
Definition at line 368 of file testNewMinimizer.cxx.