Functor1D class for onedimensional functions.
It is used to wrap in a very simple and convenient way:
Public Types  
typedef FunctorImpl< IBaseFunctionOneDim >  Impl 
typedef IBaseFunctionOneDim::BaseFunc  ImplBase 
Public Types inherited from ROOT::Math::IBaseFunctionOneDim  
typedef IBaseFunctionOneDim  BaseFunc 
Public Member Functions  
Functor1D ()  
Default constructor. More...  
template<typename Func >  
Functor1D (const Func &f)  
construct from a callable object with the right signature implementing operator() (double x) More...  
Functor1D (const Functor1D &rhs)  
Copy constructor for Functor based on ROOT::Math::IGenFunction. More...  
template<class PtrObj , typename MemFn >  
Functor1D (const PtrObj &p, MemFn memFn)  
construct from a pointer to member function (1D type) More...  
Functor1D (const std::function< double(double)> &f)  
specialized constructor from a std::function implementing the function evaluation. More...  
virtual  ~Functor1D () 
Destructor (no operations) More...  
ImplBase *  Clone () const 
Clone a function. More...  
Functor1D &  operator= (const Functor1D &rhs) 
Assignment operator. More...  
Public Member Functions inherited from ROOT::Math::IBaseFunctionOneDim  
IBaseFunctionOneDim ()  
virtual  ~IBaseFunctionOneDim () 
virtual destructor More...  
virtual IBaseFunctionOneDim *  Clone () const =0 
Clone a function. More...  
double  operator() (const double *x) const 
Evaluate the function at a point x[]. More...  
double  operator() (double x) const 
Evaluate the function at a point x Use the a pure virtual private method DoEval which must be implemented by subclasses. More...  
Private Member Functions  
double  DoEval (double x) const 
implementation of the evaluation function. Must be implemented by derived classes More...  
Private Attributes  
std::unique_ptr< Impl >  fImpl 
#include <Math/Functor.h>

inline 

inline 

inline 

inlinevirtual 

inline 
Copy constructor for Functor based on ROOT::Math::IGenFunction.

inlinevirtual 
Clone a function.
Each derived class will implement their version of the provate DoClone method
Implements ROOT::Math::IBaseFunctionOneDim.
implementation of the evaluation function. Must be implemented by derived classes
Implements ROOT::Math::IBaseFunctionOneDim.

private 