class ROOT::Math::WrappedMultiTF1: public ROOT::Math::IParametricFunctionMultiDim

Function Members (Methods)

public:
virtual~WrappedMultiTF1()
virtual ROOT::Math::IMultiGenFunction*Clone() const
virtual unsigned intNDim() const
virtual unsigned intNPar() const
doubleROOT::Math::IParametricFunctionMultiDim::operator()(const double* x, const double* p) const
ROOT::Math::WrappedMultiTF1&operator=(const ROOT::Math::WrappedMultiTF1& rhs)
virtual stringParameterName(unsigned int i) const
virtual const double*Parameters() const
virtual voidSetParameters(const double* p)
ROOT::Math::WrappedMultiTF1WrappedMultiTF1(TF1& f)
ROOT::Math::WrappedMultiTF1WrappedMultiTF1(const ROOT::Math::WrappedMultiTF1& rhs)
private:
virtual doubleDoEvalPar(const double* x, const double* p) const

Data Members

private:
TF1*fFuncpointer to ROOT function
vector<double>fParamscached vector with parameter values

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

WrappedMultiTF1(TF1 & f )
      constructor from a function pointer.


{ }
virtual ~WrappedMultiTF1()
      Destructor (no operations). Function pointer is not owned

{}
WrappedMultiTF1(const WrappedMultiTF1 & rhs)
      Copy constructor

{}
IMultiGenFunction * Clone()
 @name interface inherited from IFunction 

       Clone the wrapper but not the original function

unsigned int NDim()
 function dimension
const double * Parameters()
 @name interface inherited from IParamFunction 
 get the parameter values (return values cachen inside, those inside TF1 might be different)
void SetParameters(const double* p)
 set parameter values (only the cached one in this class,leave unchanges those of TF1)
unsigned int NPar()
 return number of parameters
std::string ParameterName(unsigned int i) const
 return parameter name (from TF1)
double DoEvalPar(const double* x, const double* p) const
 evaluate function passing coordinates x and vector of parameters

Author: L. Moneta Wed Sep 6 09:52:26 2006
Last change: root/mathmore:$Id: WrappedMultiTF1.h 24403 2008-06-20 08:31:10Z moneta $
Last generated: 2008-06-25 08:30
Copyright (c) 2006 LCG ROOT Math Team, CERN/PH-SFT *

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.