Logo ROOT   6.10/09
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
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::IBaseFunctionMultiDim * Clone () 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...
 
T operator() (const T *x) const
 Evaluate the function at a point x[]. More...
 

Private Member Functions

 TPyMultiGenFunction (const TPyMultiGenFunction &src)
 
TPyMultiGenFunction & operator= (const TPyMultiGenFunction &)
 

Private Attributes

PyObject * fPySelf
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionMultiDimTempl< T >
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.


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