ROOT 6.07/09 Reference Guide |
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 209 of file ParamFunctor.h.
Public Types | |
typedef double(* | FreeFunc) (double *, double *) |
typedef ParamFunctionBase | Impl |
Public Member Functions | |
ParamFunctor () | |
Default constructor. More... | |
template<class PtrObj , typename MemFn > | |
ParamFunctor (const PtrObj &p, MemFn memFn) | |
construct from a pointer to member function (multi-dim type) More... | |
template<typename Func > | |
ParamFunctor (const Func &f) | |
construct from another generic Functor of multi-dimension More... | |
ParamFunctor (FreeFunc f) | |
ParamFunctor (const ParamFunctor &rhs) | |
Copy constructor. More... | |
virtual | ~ParamFunctor () |
Destructor (no operations) More... | |
bool | Empty () const |
void * | GetImpl () |
double | operator() (double *x, double *p) |
ParamFunctor & | operator= (const ParamFunctor &rhs) |
Assignment operator. More... | |
void | SetFunction (Impl *f) |
Private Attributes | |
Impl * | fImpl |
#include <Math/ParamFunctor.h>
typedef double(* ROOT::Math::ParamFunctor::FreeFunc) (double *, double *) |
Definition at line 244 of file ParamFunctor.h.
Definition at line 214 of file ParamFunctor.h.
|
inline |
Default constructor.
Definition at line 220 of file ParamFunctor.h.
|
inline |
construct from a pointer to member function (multi-dim type)
Definition at line 227 of file ParamFunctor.h.
|
inlineexplicit |
construct from another generic Functor of multi-dimension
Definition at line 237 of file ParamFunctor.h.
|
inline |
Definition at line 245 of file ParamFunctor.h.
|
inlinevirtual |
Destructor (no operations)
Definition at line 254 of file ParamFunctor.h.
|
inline |
Copy constructor.
Definition at line 261 of file ParamFunctor.h.
|
inline |
Definition at line 297 of file ParamFunctor.h.
|
inline |
Definition at line 288 of file ParamFunctor.h.
|
inline |
Definition at line 291 of file ParamFunctor.h.
|
inline |
Assignment operator.
Definition at line 272 of file ParamFunctor.h.
Definition at line 300 of file ParamFunctor.h.
|
private |
Definition at line 308 of file ParamFunctor.h.