Param Functor class for Multidimensional functions.
It is used to wrap in a very simple and convenient way any other C++ callable object (implemention double operator( const double *, const double * ) ) or a member function with the correct signature, like Foo::EvalPar(const double *, const double *)
Definition at line 274 of file ParamFunctor.h.
Public Types | |
| typedef T | EvalType |
| typedef T(* | FreeFunc) (T *, double *) |
| typedef ParamFunctionBase< T > | Impl |
Public Member Functions | |
| ParamFunctorTempl () | |
| Default constructor. More... | |
| template<typename Func > | |
| ParamFunctorTempl (const Func &f) | |
| construct from another generic Functor of multi-dimension More... | |
| ParamFunctorTempl (const ParamFunctorTempl &rhs) | |
| Copy constructor. More... | |
| template<class PtrObj , typename MemFn > | |
| ParamFunctorTempl (const PtrObj &p, MemFn memFn) | |
| construct from a pointer to member function (multi-dim type) More... | |
| ParamFunctorTempl (const std::function< T(const T *f, const Double_t *param)> &func) | |
| ParamFunctorTempl (FreeFunc f) | |
| virtual | ~ParamFunctorTempl () |
| Destructor (no operations) More... | |
| bool | Empty () const |
| void * | GetImpl () |
| T | operator() (const T *x, const double *p) |
| T | operator() (T *x, double *p) |
| ParamFunctorTempl & | operator= (const ParamFunctorTempl &rhs) |
| Assignment operator. More... | |
| void | SetFunction (Impl *f) |
Private Attributes | |
| Impl * | fImpl |
#include <Math/ParamFunctor.h>
| typedef T ROOT::Math::ParamFunctorTempl< T >::EvalType |
Definition at line 279 of file ParamFunctor.h.
| typedef T(* ROOT::Math::ParamFunctorTempl< T >::FreeFunc) (T *, double *) |
Definition at line 310 of file ParamFunctor.h.
| typedef ParamFunctionBase<T> ROOT::Math::ParamFunctorTempl< T >::Impl |
Definition at line 280 of file ParamFunctor.h.
|
inline |
Default constructor.
Definition at line 286 of file ParamFunctor.h.
|
inline |
construct from a pointer to member function (multi-dim type)
Definition at line 293 of file ParamFunctor.h.
|
inlineexplicit |
construct from another generic Functor of multi-dimension
Definition at line 303 of file ParamFunctor.h.
|
inline |
Definition at line 311 of file ParamFunctor.h.
|
inline |
Definition at line 317 of file ParamFunctor.h.
|
inlinevirtual |
Destructor (no operations)
Definition at line 325 of file ParamFunctor.h.
|
inline |
Copy constructor.
Definition at line 332 of file ParamFunctor.h.
|
inline |
Definition at line 371 of file ParamFunctor.h.
|
inline |
Definition at line 359 of file ParamFunctor.h.
|
inline |
Definition at line 366 of file ParamFunctor.h.
|
inline |
Definition at line 362 of file ParamFunctor.h.
|
inline |
Assignment operator.
Definition at line 343 of file ParamFunctor.h.
|
inline |
Definition at line 374 of file ParamFunctor.h.
|
private |
Definition at line 382 of file ParamFunctor.h.