24 return kdata[(i-1)*(i+2)/2];
32 typedef union {
double d64; int64_t i64; }
DI64;
44 static const uint64_t
idelta=5;
47 bool eq(
const double& a,
const double &
b)
const
51 const int64_t diff=ia.
i64-ib.
i64;
52 return diff == 0LL ||
static_cast<uint64_t
>(llabs(diff)) <=
idelta;
55 bool neq(
const double& a,
const double &
b)
const
59 const int64_t diff=ia.
i64-ib.
i64;
60 return diff != 0LL &&
static_cast<uint64_t
>(llabs(diff)) >
idelta;
63 static const int KLEN=R*(R+1)/2;
77 for (
int i=0; i<KLEN; i++) {
78 if (not eq(kdata[i], kinem.
kdata[i]))
return false;
86 for (
int i=0; i<KLEN; i++) {
109 double xm1,
double xm2)
126 Kinem3(
double xp1,
double xp2,
double xp3,
127 double xm1,
double xm2,
double xm3)
150 Kinem4(
double xp1,
double xp2,
double xp3,
double xp4,
151 double xs12,
double xs23,
152 double xm1,
double xm2,
double xm3,
double xm4)
183 Kinem5(
double xp1,
double xp2,
double xp3,
double xp4,
double xp5,
184 double xs12,
double xs23,
double xs34,
double xs45,
double xs15,
185 double xm1,
double xm2,
double xm3,
double xm4,
double xm5)
Kinem2(double xp1, double xm1, double xm2)
Kinem3(double xp1, double xp2, double xp3, double xm1, double xm2, double xm3)
Kinem4(double xp1, double xp2, double xp3, double xp4, double xs12, double xs23, double xm1, double xm2, double xm3, double xm4)
Kinem5(double xp1, double xp2, double xp3, double xp4, double xp5, double xs12, double xs23, double xs34, double xs45, double xs15, double xm1, double xm2, double xm3, double xm4, double xm5)
static const uint64_t idelta
bool eq(const double &a, const double &b) const
bool neq(const double &a, const double &b) const
bool operator==(const Kinem &kinem) const