1 #ifndef DataFormat_Math_ProjectMatrix_H
2 #define DataFormat_Math_ProjectMatrix_H
4 #include "Math/SMatrix.h"
8 template<
typename T,
unsigned int N,
unsigned int D>
10 typedef ROOT::Math::SMatrix<T,D,D,ROOT::Math::MatRepSym<T,D> >
SMatDD;
11 typedef ROOT::Math::SMatrix<T,N,N >
SMatNN;
12 typedef ROOT::Math::SMatrix<T,N,D >
SMatND;
19 for (
unsigned int i=0;
i<
D;
i++)
20 for (
unsigned int j=0;
j<
D;
j++)
28 for (
unsigned int i=0;
i<
N;
i++)
29 for (
unsigned int j=0;
j<
D;
j++)
36 for (
unsigned int i=0;
i<
N;
i++)
37 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)
DecomposeProduct< arg, typename Div::arg > D
ROOT::Math::SMatrix< T, D, D, ROOT::Math::MatRepSym< T, D > > SMatDD
ROOT::Math::SMatrix< T, N, D > SMatND