1 #ifndef DataFormat_Math_ProjectMatrix_H
2 #define DataFormat_Math_ProjectMatrix_H
4 #define SMATRIX_USE_CONSTEXPR
5 #include "Math/SMatrix.h"
9 template<
typename T,
unsigned int N,
unsigned int D>
11 typedef ROOT::Math::SMatrix<T,D,D,ROOT::Math::MatRepSym<T,D> >
SMatDD;
12 typedef ROOT::Math::SMatrix<T,N,N >
SMatNN;
13 typedef ROOT::Math::SMatrix<T,N,D >
SMatND;
20 for (
unsigned int i=0;
i<
D;
i++)
21 for (
unsigned int j=0;
j<
D;
j++)
29 for (
unsigned int i=0;
i<
N;
i++)
30 for (
unsigned int j=0;
j<
D;
j++)
37 for (
unsigned int i=0;
i<
N;
i++)
38 for (
unsigned int j=0;
j<
D;
j++)
SMatND project(SMatDD const &s)
ROOT::Math::SMatrix< T, N, N > SMatNN
SMatNN project(SMatND const &k)
void projectAndSubtractFrom(SMatNN &__restrict__ s, SMatND const &__restrict__ k)
ROOT::Math::SMatrix< T, D, D, ROOT::Math::MatRepSym< T, D > > SMatDD
ROOT::Math::SMatrix< T, N, D > SMatND
DecomposeProduct< arg, typename Div::arg > D