ChebyQuadFunction Class Reference

Inheritance diagram for ChebyQuadFunction:

ROOT::Math::IGradientFunctionMultiDim ROOT::Math::IGradientFunctionMultiDim ROOT::Math::IGradientMultiDim ROOT::Math::IBaseFunctionMultiDim ROOT::Math::IGradientMultiDim ROOT::Math::IBaseFunctionMultiDim ROOT::Math::IGradientMultiDim ROOT::Math::IBaseFunctionMultiDim ROOT::Math::IGradientMultiDim ROOT::Math::IBaseFunctionMultiDim List of all members.

Public Member Functions

 ChebyQuadFunction (unsigned int n)
unsigned int NDim () const
ROOT::Math::IMultiGenFunctionClone () const
const doubleTrueMinimum () 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::IMultiGenFunctionClone () const
const doubleTrueMinimum () 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< doublefvec
std::vector< doublefTrueMin
std::vector< doublefvec
std::vector< doublefTrueMin

Detailed Description

Definition at line 256 of file testMinim.cxx.


Constructor & Destructor Documentation

ChebyQuadFunction::ChebyQuadFunction ( unsigned int  n  )  [inline]

Definition at line 260 of file testMinim.cxx.

Referenced by Clone().

ChebyQuadFunction::ChebyQuadFunction ( unsigned int  n  )  [inline]

Definition at line 263 of file testNewMinimizer.cxx.


Member Function Documentation

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]

Definition at line 273 of file testMinim.cxx.

References fTrueMin.

void ChebyQuadFunction::StartPoints ( double x,
double s 
) [inline]

Definition at line 278 of file testMinim.cxx.

References double, and i.

void ChebyQuadFunction::Gradient ( const double x,
double g 
) const [inline, virtual]

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().

double ChebyQuadFunction::DoEval ( const double x  )  const [inline, private, virtual]

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]

Definition at line 335 of file testMinim.cxx.

References double, fvec, i, j, l, n, and t.

Referenced by DoEval(), and Gradient().

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]

Definition at line 276 of file testNewMinimizer.cxx.

References fTrueMin.

void ChebyQuadFunction::StartPoints ( double x,
double s 
) [inline]

Definition at line 281 of file testNewMinimizer.cxx.

References double, and i.

void ChebyQuadFunction::Gradient ( const double x,
double g 
) const [inline, virtual]

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.

double ChebyQuadFunction::DoEval ( const double x  )  const [inline, private, virtual]

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]

Definition at line 338 of file testNewMinimizer.cxx.

References double, fvec, i, j, l, n, and t.


Member Data Documentation

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]

Definition at line 365 of file testMinim.cxx.

Referenced by TrueMinimum().

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.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:25:06 2011 for ROOT_528-00b_version by  doxygen 1.5.1