1 #ifndef GsfMatrixTools_h_
2 #define GsfMatrixTools_h_
4 #define SMATRIX_USE_CONSTEXPR
6 #include "Math/SVector.h"
7 #include "Math/SMatrix.h"
17 template <
typename T,
unsigned int N>
20 for (
unsigned int i = 0;
i <
N; ++
i)
28 template <
typename T,
unsigned int N>
29 T trace(ROOT::Math::SMatrix<
T,
N,
N, ROOT::Math::MatRepSym<T, N> >
const&
a,
30 ROOT::Math::SMatrix<
T,
N,
N, ROOT::Math::MatRepSym<T, N> >
const&
b) {
41 for (
unsigned int i = 0;
i <
N; ++
i)