File indexing completed on 2025-04-19 09:10:03
0001 #ifndef EXTRAXS__NLO__Logarithms_H
0002 #define EXTRAXS__NLO__Logarithms_H
0003
0004 #include "ATOOLS/Math/MathTools.H"
0005
0006 using namespace ATOOLS;
0007
0008 namespace EXTRAXS {
0009
0010 inline double HTheta(const double &x)
0011 {
0012 return x>0.0?1.0:0.0;
0013 }
0014
0015 inline Complex LnRat(const double &x,const double &y)
0016 {
0017 return log(dabs(x/y))-Complex(0.0,M_PI)*(HTheta(-x)-HTheta(-y));
0018 }
0019
0020 Complex L0(const double &x,const double &y);
0021 Complex L1(const double &x,const double &y);
0022 Complex L2(const double &x,const double &y);
0023
0024 Complex Ls0(const double &x1,const double &y1,
0025 const double &x2,const double &y2);
0026 Complex Ls1(const double &x1,const double &y1,
0027 const double &x2,const double &y2);
0028 Complex Lsm1(const double &x1,const double &y1,
0029 const double &x2,const double &y2);
0030
0031 }
0032
0033 #endif