ROOT logo
ROOT » MATH » MATHCORE » ROOT::Math::Functor

class ROOT::Math::Functor: public ROOT::Math::IBaseFunctionMultiDim

 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~Functor()
virtual ROOT::Math::Functor::ImplBase*Clone() const
ROOT::Math::FunctorFunctor()
ROOT::Math::FunctorFunctor(const ROOT::Math::Functor& rhs)
ROOT::Math::FunctorFunctor(void* p, unsigned int dim, const char* className = 0, const char* methodName = 0)
virtual unsigned intNDim() const
doubleROOT::Math::IBaseFunctionMultiDim::operator()(const double* x) const
ROOT::Math::Functor&operator=(const ROOT::Math::Functor& rhs)
private:
virtual doubleDoEval(const double* x) const

Data Members

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

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

BaseFunc * Clone() const
 clone of the function handler (use copy-ctor)
unsigned int NDim() const
 constructor for multi-dimensional functions
double DoEval(const double* x) const
Functor()
      Default constructor

{}
Functor(const PtrObj& p, MemFn memFn, unsigned int dim )
       construct from a pointer to member function (multi-dim type)

{}
Functor( const Func & f, unsigned int dim )
      construct from a callable object of multi-dimension
      with the right signature (implementing operator()(double *x)

{}
virtual ~Functor()
      Destructor (no operations)

{}