|
JHUGen MELA
JHUGen v7.5.6, MELA v2.4.2
Matrix element calculations as used in JHUGen.
|
Go to the documentation of this file. 1 #ifndef NUMERIC_UTILITIES
2 #define NUMERIC_UTILITIES
24 bool operator == (
const triplet<T>& other)
const{
bool res =
true;
for (std::size_t i=0; i<3; i++) res &= (*
this)[i]==other[i];
return res; }
39 bool operator == (
const quadruplet<T>& other)
const{
bool res =
true;
for (std::size_t i=0; i<4; i++) res &= (*
this)[i]==other[i];
return res; }
53 void PermutationGenerator(
int n,
int k, std::vector<std::vector<int>>& perms,
int valbegin=1,
int increment=1);
54 void CombinationGenerator(
int n,
int k, std::vector<std::vector<int>>& perms,
int valbegin=1,
int increment=1);
triplet(T i1, T i2, T i3)
quadruplet< float > floatQuad_t
quadruplet< int > intQuad_t
triplet< double > doubleTriplet_t
const T & operator[](std::size_t ipos) const
bool operator!=(const triplet< T > &other) const
triplet< float > floatTriplet_t
quadruplet(T i1, T i2, T i3, T i4)
bool operator==(const quadruplet< T > &other) const
bool operator!=(const quadruplet< T > &other) const
triplet< unsigned int > uintTriplet_t
void PermutationGenerator(int n, int k, std::vector< std::vector< int >> &perms, int valbegin=1, int increment=1)
T & operator[](std::size_t ipos)
triplet< int > intTriplet_t
void CombinationGenerator(int n, int k, std::vector< std::vector< int >> &perms, int valbegin=1, int increment=1)
T & operator[](std::size_t ipos)
quadruplet< unsigned int > uintQuad_t
quadruplet< double > doubleQuad_t
bool operator==(const triplet< T > &other) const
const T & operator[](std::size_t ipos) const