Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Fit::FcnAdapter Class Reference

Definition at line 27 of file FcnAdapter.h.

Public Member Functions

 FcnAdapter (void(*fcn)(int &, double *, double &, double *, int), int dim=0)
 
virtual ~FcnAdapter ()
 
ROOT::Math::IMultiGenFunctionClone () const
 Clone a function. More...
 
virtual unsigned int NDim () const
 Retrieve the dimension of the function. More...
 
void SetDimension (int dim)
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T >
 IBaseFunctionMultiDimTempl ()
 
virtual ~IBaseFunctionMultiDimTempl ()
 virtual destructor More...
 
operator() (const T *x) const
 Evaluate the function at a point x[]. More...
 

Private Member Functions

virtual double DoEval (const double *x) const
 

Private Attributes

unsigned int fDim
 
void(* fFCN )(int &, double *, double &, double *, int)
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T >
typedef IBaseFunctionMultiDimTempl< T > BaseFunc
 

#include <Fit/FcnAdapter.h>

Inheritance diagram for ROOT::Fit::FcnAdapter:
[legend]

Constructor & Destructor Documentation

◆ FcnAdapter()

ROOT::Fit::FcnAdapter::FcnAdapter ( void(*)(int &, double *, double &, double *, int)  fcn,
int  dim = 0 
)
inline

Definition at line 31 of file FcnAdapter.h.

◆ ~FcnAdapter()

virtual ROOT::Fit::FcnAdapter::~FcnAdapter ( )
inlinevirtual

Definition at line 36 of file FcnAdapter.h.

Member Function Documentation

◆ Clone()

ROOT::Math::IMultiGenFunction* ROOT::Fit::FcnAdapter::Clone ( ) const
inlinevirtual

Clone a function.

Each derived class must implement their version of the Clone method

Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.

Definition at line 40 of file FcnAdapter.h.

◆ DoEval()

virtual double ROOT::Fit::FcnAdapter::DoEval ( const double *  x) const
inlineprivatevirtual

Definition at line 48 of file FcnAdapter.h.

◆ NDim()

virtual unsigned int ROOT::Fit::FcnAdapter::NDim ( ) const
inlinevirtual

Retrieve the dimension of the function.

Implements ROOT::Math::IBaseFunctionMultiDimTempl< T >.

Definition at line 38 of file FcnAdapter.h.

◆ SetDimension()

void ROOT::Fit::FcnAdapter::SetDimension ( int  dim)
inline

Definition at line 44 of file FcnAdapter.h.

Member Data Documentation

◆ fDim

unsigned int ROOT::Fit::FcnAdapter::fDim
private

Definition at line 58 of file FcnAdapter.h.

◆ fFCN

void(* ROOT::Fit::FcnAdapter::fFCN) (int &, double *, double &, double *, int)
private

Definition at line 59 of file FcnAdapter.h.


The documentation for this class was generated from the following file: