#include <WrappedMultiTF1.h>


interface inherited from IParamFunction | |
| const double * | Parameters () const |
| access the parameter values | |
| void | SetParameters (const double *p) |
| set parameter values | |
| unsigned int | NPar () const |
| return number of parameters | |
| std::string | ParameterName (unsigned int i) const |
| return parameter name (from TF1) | |
| double | operator() (const double *x, const double *p) |
| evaluate function passing coordinates x and vector of parameters | |
Public Types | |
| typedef ROOT::Math::IParamMultiFunction | BaseParamFunc |
| typedef ROOT::Math::IParamMultiFunction::BaseFunc | BaseFunc |
Public Member Functions | |
| WrappedMultiTF1 (TF1 &f) | |
| constructor from a function pointer. | |
| virtual | ~WrappedMultiTF1 () |
| Destructor (no operations). | |
| WrappedMultiTF1 (const WrappedMultiTF1 &rhs) | |
| Copy constructor. | |
| WrappedMultiTF1 & | operator= (const WrappedMultiTF1 &rhs) |
| Assignment operator. | |
interface inherited from IFunction | |
| IMultiGenFunction * | Clone () const |
| Clone the wrapper but not the original function. | |
| unsigned int | NDim () const |
| function dimension | |
This allows for the copy of the wrapper function without the need to copy the TF1 The wrapper does not own the TF1 pointer, so it assumes it exists during the wrapper lifetime
Definition at line 38 of file WrappedMultiTF1.h.
Definition at line 42 of file WrappedMultiTF1.h.
Reimplemented from ROOT::Math::IParametricFunctionMultiDim.
Definition at line 43 of file WrappedMultiTF1.h.
| ROOT::Math::WrappedMultiTF1::WrappedMultiTF1 | ( | TF1 & | f | ) | [inline] |
constructor from a function pointer.
Definition at line 50 of file WrappedMultiTF1.h.
Referenced by Clone().
| virtual ROOT::Math::WrappedMultiTF1::~WrappedMultiTF1 | ( | ) | [inline, virtual] |
Destructor (no operations).
Function pointer is not owned
Definition at line 58 of file WrappedMultiTF1.h.
| ROOT::Math::WrappedMultiTF1::WrappedMultiTF1 | ( | const WrappedMultiTF1 & | rhs | ) | [inline] |
| WrappedMultiTF1& ROOT::Math::WrappedMultiTF1::operator= | ( | const WrappedMultiTF1 & | rhs | ) | [inline] |
| IMultiGenFunction* ROOT::Math::WrappedMultiTF1::Clone | ( | ) | const [inline, virtual] |
Clone the wrapper but not the original function.
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 87 of file WrappedMultiTF1.h.
References WrappedMultiTF1().
| unsigned int ROOT::Math::WrappedMultiTF1::NDim | ( | ) | const [inline, virtual] |
function dimension
Implements ROOT::Math::IBaseFunctionMultiDim.
Definition at line 92 of file WrappedMultiTF1.h.
| const double* ROOT::Math::WrappedMultiTF1::Parameters | ( | ) | const [inline, virtual] |
access the parameter values
Implements ROOT::Math::IBaseParam.
Definition at line 100 of file WrappedMultiTF1.h.
| void ROOT::Math::WrappedMultiTF1::SetParameters | ( | const double * | p | ) | [inline, virtual] |
set parameter values
Implements ROOT::Math::IBaseParam.
Definition at line 106 of file WrappedMultiTF1.h.
| unsigned int ROOT::Math::WrappedMultiTF1::NPar | ( | ) | const [inline, virtual] |
return number of parameters
Implements ROOT::Math::IBaseParam.
Definition at line 111 of file WrappedMultiTF1.h.
| std::string ROOT::Math::WrappedMultiTF1::ParameterName | ( | unsigned int | i | ) | const [inline, virtual] |
return parameter name (from TF1)
Reimplemented from ROOT::Math::IBaseParam.
Definition at line 117 of file WrappedMultiTF1.h.
| double ROOT::Math::WrappedMultiTF1::operator() | ( | const double * | x, | |
| const double * | p | |||
| ) | [inline, virtual] |
evaluate function passing coordinates x and vector of parameters
Reimplemented from ROOT::Math::IParametricFunctionMultiDim.
Definition at line 122 of file WrappedMultiTF1.h.
1.5.3