14#ifndef ROOT_TDataPoint_ICC
15#define ROOT_TDataPoint_ICC
17#ifndef ROOT_Math_TDataPoint
18#error "Do not use TDataPoint.icc directly. #include \"TDataPoint.h\" instead."
45template<
unsigned int K,
typename _val_type>
56 for(
UInt_t k = 0; k < K; ++k)
62template<
unsigned int K,
typename _val_type>
63template<
typename _coord_type>
80template<
unsigned int K,
typename _val_type>
81template<
typename _val>
99template<
unsigned int K,
typename _val_type>
107 return m_vCoordinates[iAxis];
111template<
unsigned int K,
typename _val_type>
120 m_vCoordinates[iAxis] = fValue;
124template<
unsigned int K,
typename _val_type>
135 return (m_vCoordinates[iAxis] < rPoint.
GetCoordinate(iAxis));
constexpr Int_t kDimension
Bool_t Less(TDataPoint &rPoint, unsigned int iAxis) const
value_type Distance(const TDataPoint< K, _val > &rPoint) const
void SetCoordinate(unsigned int iAxis, _val_type fValue)
value_type m_vCoordinates[K]
coordinates
value_type GetCoordinate(unsigned int iAxis) const
Namespace for new Math classes and functions.
VecExpr< UnaryOp< Sqrt< T >, VecExpr< A, T, D >, T >, T, D > sqrt(const VecExpr< A, T, D > &rhs)
This file contains a specialised ROOT message handler to test for diagnostic in unit tests.