ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TPyMultiGenFunction Class Reference

Definition at line 28 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 unsigned int NDim () const
 Retrieve the dimension of the function. More...
 
virtual double DoEval (const double *x) const
 Simply forward the call to python self. More...
 
 ClassDef (TPyMultiGenFunction, 1)
 
- Public Member Functions inherited from ROOT::Math::IBaseFunctionMultiDim
 IBaseFunctionMultiDim ()
 
virtual ~IBaseFunctionMultiDim ()
 virtual destructor More...
 
double operator() (const double *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::IBaseFunctionMultiDim
typedef IBaseFunctionMultiDim BaseFunc
 

#include <TPyFitFunction.h>

Inheritance diagram for TPyMultiGenFunction:
[legend]

Constructor & Destructor Documentation

TPyMultiGenFunction::TPyMultiGenFunction ( PyObject self = 0)

Definition at line 69 of file TPyFitFunction.cxx.

Referenced by Clone().

TPyMultiGenFunction::~TPyMultiGenFunction ( )
virtual

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

Definition at line 84 of file TPyFitFunction.cxx.

TPyMultiGenFunction::TPyMultiGenFunction ( const TPyMultiGenFunction src)
inlineprivate

Definition at line 44 of file TPyFitFunction.h.

Member Function Documentation

TPyMultiGenFunction::ClassDef ( TPyMultiGenFunction  ,
 
)
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::IBaseFunctionMultiDim.

Definition at line 35 of file TPyFitFunction.h.

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

Simply forward the call to python self.

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 112 of file TPyFitFunction.cxx.

unsigned int TPyMultiGenFunction::NDim ( ) const
virtual

Retrieve the dimension of the function.

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 93 of file TPyFitFunction.cxx.

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

Definition at line 45 of file TPyFitFunction.h.

Member Data Documentation

PyObject* TPyMultiGenFunction::fPySelf
private

Definition at line 48 of file TPyFitFunction.h.

Referenced by Clone(), DoEval(), NDim(), TPyMultiGenFunction(), and ~TPyMultiGenFunction().

Collaboration diagram for TPyMultiGenFunction:
[legend]

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