14#ifndef ROOT_Math_TDataPointN
15#define ROOT_Math_TDataPointN
29template<
typename _val_type =
float>
43 template<
typename _coord_typ>
45 template<
typename _val>
51 template<
typename _val>
static void SetDimension(UInt_t dim)
_val_type Distance(const TDataPointN< _val > &rPoint) const
void SetCoordinate(unsigned int iAxis, value_type fValue)
bool Less(TDataPointN &rPoint, unsigned int iAxis) const
void SetWeight(float fWeight)
TDataPointN(const _coord_typ *pData, value_type fWeight=1)
_val_type GetWeight() const
static UInt_t Dimension()
TDataPointN(const TDataPointN< _val > &)
value_type * m_vCoordinates
_val_type GetCoordinate(unsigned int iAxis) const
Namespace for new Math classes and functions.
Namespace for new ROOT classes and functions.