/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
DataFormats/Math/interface/Vector.h
29 строк
578 B
Cms Build
Clang-Format
11 июн 2019, 11:29
11 июн 2019, 11:29
146bc98
Код
Авторство
О чём код?
#ifndef TrackReco_Vector_h #define TrackReco_Vector_h #include "Rtypes.h" #define SMATRIX_USE_CONSTEXPR #include "Math/SVector.h" namespace math { /// fixed size vector template <unsigned int N> struct VectorD { typedef ROOT::Math::SVector<double, N> type; }; /// fixed size vector template <unsigned int N> struct VectorF { typedef ROOT::Math::SVector<float, N> type; }; /// fixed size vector template <unsigned int N> struct Vector { typedef typename VectorD<N>::type type; }; } // namespace math #endif