Inheritance diagram for TrigoFletcherFunction:
Public Member Functions | |
TrigoFletcherFunction (unsigned int dim) | |
unsigned int | NDim () const |
ROOT::Math::IMultiGenFunction * | Clone () const |
void | StartPoints (double *x, double *s) |
const double * | TrueMinimum () const |
void | Gradient (const double *x, double *g) const |
TrigoFletcherFunction (unsigned int dim) | |
unsigned int | NDim () const |
ROOT::Math::IMultiGenFunction * | Clone () const |
void | StartPoints (double *x, double *s) |
const double * | TrueMinimum () const |
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 |
double | DoEval (const double *x) const |
double | DoDerivative (const double *x, unsigned int i) const |
Private Attributes | |
unsigned int | fDim |
TMatrixD | A |
TMatrixD | B |
TVectorD | x0 |
TVectorD | sx0 |
TVectorD | cx0 |
TVectorD | sx |
TVectorD | cx |
TVectorD | v0 |
TVectorD | v |
TVectorD | r |
Definition at line 96 of file testMinim.cxx.
TrigoFletcherFunction::TrigoFletcherFunction | ( | unsigned int | dim | ) | [inline] |
Definition at line 101 of file testMinim.cxx.
References A, B, cos(), cx, cx0, fDim, i, int, j, TMath::Pi(), r, TVectorT< Element >::Randomize(), TMatrixTBase< Element >::Randomize(), TMatrixT< Element >::ResizeTo(), TVectorT< Element >::ResizeTo(), seed, sin(), sx, sx0, v, v0, and x0.
Referenced by Clone().
TrigoFletcherFunction::TrigoFletcherFunction | ( | unsigned int | dim | ) | [inline] |
Definition at line 104 of file testNewMinimizer.cxx.
References A, B, cos(), cx, cx0, fDim, i, int, j, TMath::Pi(), r, TVectorT< Element >::Randomize(), TMatrixTBase< Element >::Randomize(), TMatrixT< Element >::ResizeTo(), TVectorT< Element >::ResizeTo(), seed, sin(), sx, sx0, v, v0, and x0.
unsigned int TrigoFletcherFunction::NDim | ( | ) | const [inline, virtual] |
Retrieve the dimension of the function
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 131 of file testMinim.cxx.
References fDim.
ROOT::Math::IMultiGenFunction* TrigoFletcherFunction::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 133 of file testMinim.cxx.
References TrigoFletcherFunction().
Definition at line 141 of file testMinim.cxx.
References fDim, i, TMath::Pi(), pi, rndm, TRandom::Uniform(), and x0.
Referenced by testTrigoFletcher().
const double* TrigoFletcherFunction::TrueMinimum | ( | ) | const [inline] |
Definition at line 156 of file testMinim.cxx.
References TVectorT< Element >::GetMatrixArray(), and x0.
Referenced by TrueMinimum().
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 161 of file testMinim.cxx.
References A, B, cos(), cx, fDim, gNCall2, i, k, r, sin(), sx, v, and v0.
Referenced by DoDerivative().
double TrigoFletcherFunction::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 229 of file testMinim.cxx.
References g, and Gradient().
unsigned int TrigoFletcherFunction::NDim | ( | ) | const [inline, virtual] |
Retrieve the dimension of the function
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 134 of file testNewMinimizer.cxx.
References fDim.
ROOT::Math::IMultiGenFunction* TrigoFletcherFunction::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 136 of file testNewMinimizer.cxx.
References TrigoFletcherFunction().
Definition at line 144 of file testNewMinimizer.cxx.
References fDim, i, TMath::Pi(), pi, rndm, TRandom::Uniform(), and x0.
const double* TrigoFletcherFunction::TrueMinimum | ( | ) | const [inline] |
Definition at line 159 of file testNewMinimizer.cxx.
References TVectorT< Element >::GetMatrixArray(), and x0.
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 164 of file testNewMinimizer.cxx.
References A, B, cos(), cx, fDim, gNCall2, i, k, r, sin(), sx, v, and v0.
double TrigoFletcherFunction::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 232 of file testNewMinimizer.cxx.
References g, and Gradient().
unsigned int TrigoFletcherFunction::fDim [private] |
Definition at line 237 of file testMinim.cxx.
Referenced by Gradient(), NDim(), StartPoints(), and TrigoFletcherFunction().
TMatrixD TrigoFletcherFunction::A [private] |
Definition at line 239 of file testMinim.cxx.
Referenced by DoEval(), Gradient(), and TrigoFletcherFunction().
TMatrixD TrigoFletcherFunction::B [private] |
Definition at line 240 of file testMinim.cxx.
Referenced by DoEval(), Gradient(), and TrigoFletcherFunction().
TVectorD TrigoFletcherFunction::x0 [private] |
Definition at line 241 of file testMinim.cxx.
Referenced by StartPoints(), TrigoFletcherFunction(), and TrueMinimum().
TVectorD TrigoFletcherFunction::sx0 [mutable, private] |
TVectorD TrigoFletcherFunction::cx0 [mutable, private] |
TVectorD TrigoFletcherFunction::sx [mutable, private] |
Definition at line 244 of file testMinim.cxx.
Referenced by DoEval(), Gradient(), and TrigoFletcherFunction().
TVectorD TrigoFletcherFunction::cx [mutable, private] |
Definition at line 245 of file testMinim.cxx.
Referenced by Gradient(), and TrigoFletcherFunction().
TVectorD TrigoFletcherFunction::v0 [mutable, private] |
Definition at line 246 of file testMinim.cxx.
Referenced by DoEval(), Gradient(), and TrigoFletcherFunction().
TVectorD TrigoFletcherFunction::v [mutable, private] |
Definition at line 247 of file testMinim.cxx.
Referenced by Gradient(), and TrigoFletcherFunction().
TVectorD TrigoFletcherFunction::r [mutable, private] |
Definition at line 248 of file testMinim.cxx.
Referenced by Gradient(), and TrigoFletcherFunction().