Logo ROOT   6.14/05
Reference Guide
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
ROOT::Math::TDataPointN< _val_type > Class Template Reference

template<typename _val_type = float>
class ROOT::Math::TDataPointN< _val_type >

Definition at line 30 of file TDataPointN.h.

Public Types

typedef _val_type value_type
 

Public Member Functions

 TDataPointN ()
 
template<typename _coord_type >
 TDataPointN (const _coord_type *pData, _val_type fWeight)
 
template<typename _coord_typ >
 TDataPointN (const _coord_typ *pData, value_type fWeight=1)
 
template<typename _val >
 TDataPointN (const TDataPointN< _val > &)
 
virtual ~TDataPointN ()
 
template<typename _val >
_val_type Distance (const TDataPointN< _val > &rPoint) const
 
_val_type GetCoordinate (unsigned int iAxis) const
 
_val_type GetWeight () const
 
bool Less (TDataPointN &rPoint, unsigned int iAxis) const
 
void SetCoordinate (unsigned int iAxis, value_type fValue)
 
void SetWeight (float fWeight)
 

Static Public Member Functions

static UInt_t Dimension ()
 
static void SetDimension (UInt_t dim)
 

Private Member Functions

template<>
UInt_t kDimension
 
template<>
UInt_t kDimension
 

Private Attributes

value_type m_fWeight
 
value_typem_vCoordinates
 

Static Private Attributes

static UInt_t kDimension
 

#include <Math/TDataPointN.h>

Member Typedef Documentation

◆ value_type

template<typename _val_type = float>
typedef _val_type ROOT::Math::TDataPointN< _val_type >::value_type

Definition at line 36 of file TDataPointN.h.

Constructor & Destructor Documentation

◆ TDataPointN() [1/4]

template<typename _val_type >
ROOT::Math::TDataPointN< _val_type >::TDataPointN ( )

Definition at line 30 of file TDataPointN.icc.

◆ TDataPointN() [2/4]

template<typename _val_type = float>
template<typename _coord_typ >
ROOT::Math::TDataPointN< _val_type >::TDataPointN ( const _coord_typ *  pData,
value_type  fWeight = 1 
)

◆ TDataPointN() [3/4]

template<typename _val_type = float>
template<typename _val >
ROOT::Math::TDataPointN< _val_type >::TDataPointN ( const TDataPointN< _val > &  )

◆ ~TDataPointN()

template<typename _val_type >
ROOT::Math::TDataPointN< _val_type >::~TDataPointN ( )
virtual

Definition at line 56 of file TDataPointN.icc.

◆ TDataPointN() [4/4]

template<typename _val_type = float>
template<typename _coord_type >
ROOT::Math::TDataPointN< _val_type >::TDataPointN ( const _coord_type *  pData,
_val_type  fWeight 
)

Definition at line 43 of file TDataPointN.icc.

Member Function Documentation

◆ Dimension()

template<typename _val_type = float>
static UInt_t ROOT::Math::TDataPointN< _val_type >::Dimension ( )
inlinestatic

Definition at line 38 of file TDataPointN.h.

◆ Distance()

template<typename _val_type >
template<typename _val >
_val_type ROOT::Math::TDataPointN< _val_type >::Distance ( const TDataPointN< _val > &  rPoint) const

Definition at line 65 of file TDataPointN.icc.

◆ GetCoordinate()

template<typename _val_type >
_val_type ROOT::Math::TDataPointN< _val_type >::GetCoordinate ( unsigned int  iAxis) const
inline

Definition at line 77 of file TDataPointN.icc.

◆ GetWeight()

template<typename _val_type = float>
_val_type ROOT::Math::TDataPointN< _val_type >::GetWeight ( ) const
inline

Definition at line 55 of file TDataPointN.h.

◆ kDimension() [1/2]

template<>
UInt_t ROOT::Math::TDataPointN< Float_t >::kDimension ( )
private

Definition at line 65 of file TDataPointN.h.

◆ kDimension() [2/2]

template<>
UInt_t ROOT::Math::TDataPointN< Double_t >::kDimension ( )
private

Definition at line 66 of file TDataPointN.h.

◆ Less()

template<typename _val_type >
bool ROOT::Math::TDataPointN< _val_type >::Less ( TDataPointN< _val_type > &  rPoint,
unsigned int  iAxis 
) const
inline

Definition at line 93 of file TDataPointN.icc.

◆ SetCoordinate()

template<typename _val_type >
void ROOT::Math::TDataPointN< _val_type >::SetCoordinate ( unsigned int  iAxis,
value_type  fValue 
)
inline

Definition at line 85 of file TDataPointN.icc.

◆ SetDimension()

template<typename _val_type = float>
static void ROOT::Math::TDataPointN< _val_type >::SetDimension ( UInt_t  dim)
inlinestatic

Definition at line 39 of file TDataPointN.h.

◆ SetWeight()

template<typename _val_type = float>
void ROOT::Math::TDataPointN< _val_type >::SetWeight ( float  fWeight)
inline

Definition at line 58 of file TDataPointN.h.

Member Data Documentation

◆ kDimension

template<typename _val_type = float>
UInt_t ROOT::Math::TDataPointN< _val_type >::kDimension
staticprivate

Definition at line 33 of file TDataPointN.h.

◆ m_fWeight

template<typename _val_type = float>
value_type ROOT::Math::TDataPointN< _val_type >::m_fWeight
private

Definition at line 62 of file TDataPointN.h.

◆ m_vCoordinates

template<typename _val_type = float>
value_type* ROOT::Math::TDataPointN< _val_type >::m_vCoordinates
private

Definition at line 61 of file TDataPointN.h.


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