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