Documentation for class Functor class. It is used to wrap in a very simple and convenient way multi-dimensional function objects. It can wrap all the following types: <ul> <li> any C++ callable object implemention double operator()( const double * ) <li> a free C function of type double ()(double * ) <li> a member function with the correct signature like Foo::Eval(const double * ). In this case one pass the object pointer and a pointer to the member function (&Foo::Eval) </ul> The function dimension is required when constructing the functor. @ingroup GenFunc
virtual | ~Functor1D() |
virtual ROOT::Math::Functor1D::ImplBase* | Clone() const |
ROOT::Math::Functor1D | Functor1D() |
ROOT::Math::Functor1D | Functor1D(const ROOT::Math::Functor1D&) |
ROOT::Math::Functor1D | Functor1D(void* p, const char* className = 0, const char* methodName = 0) |
double | ROOT::Math::IBaseFunctionOneDim::operator()(double x) const |
double | ROOT::Math::IBaseFunctionOneDim::operator()(const double* x) const |
ROOT::Math::Functor1D& | operator=(const ROOT::Math::Functor1D& rhs) |
virtual double | DoEval(double x) const |
auto_ptr<ROOT::Math::IBaseFunctionOneDim> | fImpl | pointer to base functor handler |
construct from a callable object with the right signature implementing operator() (double x)
{}