ROOT  6.06/09
Reference Guide
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr > Class Template Reference

template<typename FuncObj, typename MemFuncPtr>
class ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >

Definition at line 195 of file WrappedFunction.h.

Public Member Functions

 WrappedMemMultiFunction (FuncObj &obj, MemFuncPtr memFn, unsigned int dim=1)
 construct from the pointer to the object and the member function More...
 
WrappedMemMultiFunctionClone () const
 clone (required by the interface) More...
 
unsigned int NDim () const
 Retrieve the dimension of the function. More...
 
- 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

virtual double DoEval (const double *x) const
 Implementation of the evaluation function. More...
 

Private Attributes

FuncObj * fObj
 
MemFuncPtr fMemFunc
 
unsigned int fDim
 

Additional Inherited Members

- Public Types inherited from ROOT::Math::IBaseFunctionMultiDim
typedef IBaseFunctionMultiDim BaseFunc
 

#include <Math/WrappedFunction.h>

+ Inheritance diagram for ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >:
+ Collaboration diagram for ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >:

Constructor & Destructor Documentation

template<typename FuncObj, typename MemFuncPtr>
ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::WrappedMemMultiFunction ( FuncObj &  obj,
MemFuncPtr  memFn,
unsigned int  dim = 1 
)
inline

construct from the pointer to the object and the member function

Definition at line 203 of file WrappedFunction.h.

Referenced by ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::Clone().

Member Function Documentation

template<typename FuncObj, typename MemFuncPtr>
WrappedMemMultiFunction* ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::Clone ( ) const
inlinevirtual

clone (required by the interface)

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 212 of file WrappedFunction.h.

template<typename FuncObj, typename MemFuncPtr>
virtual double ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::DoEval ( const double x) const
inlineprivatevirtual

Implementation of the evaluation function.

Must be implemented by derived classes

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 221 of file WrappedFunction.h.

template<typename FuncObj, typename MemFuncPtr>
unsigned int ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::NDim ( ) const
inlinevirtual

Retrieve the dimension of the function.

Implements ROOT::Math::IBaseFunctionMultiDim.

Definition at line 217 of file WrappedFunction.h.

Member Data Documentation

template<typename FuncObj, typename MemFuncPtr>
unsigned int ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::fDim
private
template<typename FuncObj, typename MemFuncPtr>
MemFuncPtr ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::fMemFunc
private
template<typename FuncObj, typename MemFuncPtr>
FuncObj* ROOT::Math::WrappedMemMultiFunction< FuncObj, MemFuncPtr >::fObj
private

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