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
math::Vector::type
VectorD< N >::type type
Definition: Vector.h:25
math::VectorF
fixed size vector
Definition: Vector.h:18
math::VectorF::type
ROOT::Math::SVector< float, N > type
Definition: Vector.h:19
math::Vector
fixed size vector
Definition: Vector.h:24
math::VectorD::type
ROOT::Math::SVector< double, N > type
Definition: Vector.h:13
math
Definition: choleskyInversion.h:19
math::VectorD
fixed size vector
Definition: Vector.h:12