CMS 3D CMS Logo

Vector.h
Go to the documentation of this file.
1 #ifndef TrackReco_Vector_h
2 #define TrackReco_Vector_h
3 #include "Rtypes.h"
4 
5 #define SMATRIX_USE_CONSTEXPR
6 #include "Math/SVector.h"
7 
8 namespace math {
9 
11  template <unsigned int N>
12  struct VectorD {
13  typedef ROOT::Math::SVector<double, N> type;
14  };
15 
17  template <unsigned int N>
18  struct VectorF {
19  typedef ROOT::Math::SVector<float, N> type;
20  };
21 
23  template <unsigned int N>
24  struct Vector {
25  typedef typename VectorD<N>::type type;
26  };
27 } // namespace math
28 
29 #endif
fixed size vector
Definition: Vector.h:18
fixed size vector
Definition: Vector.h:24
VectorD< N >::type type
Definition: Vector.h:25
fixed size vector
Definition: Vector.h:12
ROOT::Math::SVector< float, N > type
Definition: Vector.h:19
ROOT::Math::SVector< double, N > type
Definition: Vector.h:13