Logo ROOT  
Reference Guide
TPyMultiGenFunction Class Reference

Definition at line 24 of file TPyFitFunction.h.

Public Member Functions

 TPyMultiGenFunction (PyObject *self=0)
 
virtual ~TPyMultiGenFunction ()
 Destructor. Only deref if still holding on to Py_None (circular otherwise). More...
 
virtual ROOT::Math::IBaseFunctionMultiDimClone () const
 Clone a function. More...
 
virtual double DoEval (const double *x) const
 Simply forward the call to python self. More...
 
virtual unsigned int NDim () const
 Retrieve the dimension of the function. More...
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T >
 IBaseFunctionMultiDimTempl ()
 
virtual ~IBaseFunctionMultiDimTempl ()
 virtual destructor More...
 
virtual IBaseFunctionMultiDimTempl< T > * Clone () const =0
 Clone a function. More...
 
virtual unsigned int NDim () const =0
 Retrieve the dimension of the function. More...
 
operator() (const T *x) const
 Evaluate the function at a point x[]. More...
 

Private Member Functions

 TPyMultiGenFunction (const TPyMultiGenFunction &src)
 
TPyMultiGenFunctionoperator= (const TPyMultiGenFunction &)
 

Private Attributes

PyObjectfPySelf
 

Additional Inherited Members

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

#include <TPyFitFunction.h>

Inheritance diagram for TPyMultiGenFunction:
[legend]

Constructor & Destructor Documentation

◆ TPyMultiGenFunction() [1/2]

TPyMultiGenFunction::TPyMultiGenFunction ( PyObject self = 0)

Definition at line 69 of file TPyFitFunction.cxx.

◆ ~TPyMultiGenFunction()

TPyMultiGenFunction::~TPyMultiGenFunction ( )
virtual

Destructor. Only deref if still holding on to Py_None (circular otherwise).

Definition at line 84 of file TPyFitFunction.cxx.

◆ TPyMultiGenFunction() [2/2]

TPyMultiGenFunction::TPyMultiGenFunction ( const TPyMultiGenFunction src)
inlineprivate

Definition at line 40 of file TPyFitFunction.h.

Member Function Documentation

◆ Clone()

virtual ROOT::Math::IBaseFunctionMultiDim * TPyMultiGenFunction::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 31 of file TPyFitFunction.h.

◆ DoEval()

double TPyMultiGenFunction::DoEval ( const double *  x) const
virtual

Simply forward the call to python self.

Definition at line 112 of file TPyFitFunction.cxx.

◆ NDim()

unsigned int TPyMultiGenFunction::NDim ( ) const
virtual

Retrieve the dimension of the function.

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

Definition at line 93 of file TPyFitFunction.cxx.

◆ operator=()

TPyMultiGenFunction & TPyMultiGenFunction::operator= ( const TPyMultiGenFunction )
inlineprivate

Definition at line 41 of file TPyFitFunction.h.

Member Data Documentation

◆ fPySelf

PyObject* TPyMultiGenFunction::fPySelf
private

Definition at line 44 of file TPyFitFunction.h.

Libraries for TPyMultiGenFunction:
[legend]

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