ROOT logo
ROOT » MATH » MATHCORE » ROOT::Math::GradFunctor1D

class ROOT::Math::GradFunctor1D: public ROOT::Math::IGradientFunctionOneDim

 LM 7/2/2014:  no needed this : make template ctor of Functor1D and GradFunctor1D not
 available to CINT s

#if defined(__MAKECINT__) || defined(G__DICTIONARY)
 needed since CINT initialize it with TRootIOCtor
class TRootIOCtor;

Function Members (Methods)

public:
virtual~GradFunctor1D()
virtual ROOT::Math::GradFunctor1D::ImplBase*Clone() const
doubleROOT::Math::IGradientOneDim::Derivative(double x) const
doubleROOT::Math::IGradientOneDim::Derivative(const double* x) const
virtual voidROOT::Math::IGradientFunctionOneDim::FdF(double x, double& f, double& df) const
ROOT::Math::GradFunctor1DGradFunctor1D()
ROOT::Math::GradFunctor1DGradFunctor1D(const ROOT::Math::GradFunctor1D& rhs)
ROOT::Math::GradFunctor1DGradFunctor1D(void* p1, void* p2)
ROOT::Math::GradFunctor1DGradFunctor1D(void* p1, const char* className, const char* methodName, const char* derivName)
voidROOT::Math::IGradientOneDim::Gradient(const double* x, double* g) const
doubleROOT::Math::IBaseFunctionOneDim::operator()(double x) const
doubleROOT::Math::IBaseFunctionOneDim::operator()(const double* x) const
ROOT::Math::GradFunctor1D&operator=(const ROOT::Math::GradFunctor1D& rhs)
private:
virtual doubleDoDerivative(double x) const
virtual doubleDoEval(double x) const

Data Members

private:
auto_ptr<ROOT::Math::FunctorImpl<ROOT::Math::IGradientFunctionOneDim> >fImplpointer to base gradient functor handler

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

BaseFunc * Clone() const
 clone of the function handler (use copy-ctor)
double DoEval(double x) const
double DoDerivative(double x) const
GradFunctor1D()
      Default constructor

{}
GradFunctor1D(const ROOT::Math::GradFunctor1D& rhs)
      construct from an object with the right signature
      implementing both operator() (double x) and Derivative(double x)

{}
GradFunctor1D(const PtrObj& p, MemFn memFn, GradMemFn gradFn)
       construct from a pointer to class and two pointers to member functions, one for
       the function evaluation and the other for the derivative.
       The member functions must take a double as argument and return a double

{}
GradFunctor1D(void* p1, const char* className, const char* methodName, const char* derivName)
 eventually implement for interpreted CINT functions
virtual ~GradFunctor1D()
      Destructor (no operations)

{}