Page Menu
Home
HEPForge
Search
Configure Global Search
Log In
Files
F19252249
Maths.h
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Size
782 B
Referenced Files
None
Subscribers
None
Maths.h
View Options
// -*- C++ -*-
#ifndef HERWIG_Math_H
#define HERWIG_Math_H
#include
<cmath>
#include
"ThePEG/Config/Complex.h"
#include
"ThePEG/Utilities/Maths.h"
namespace
Herwig
{
using
ThePEG
::
Complex
;
using
std
::
complex
;
/** The Math namespace includes the declaration of some useful
* mathematical functions. */
namespace
Math
{
/**
* The dilog function taken from FORTRAN Herwig
*/
Complex
Li2
(
Complex
);
/**
* The real part of the dilog function taken from FORTRAN Herwig
*/
long
double
ReLi2
(
long
double
);
/**
* Fold angles into the range (-Pi,Pi)
*/
inline
double
angleMinusPiToPi
(
double
angle
);
/**
* Fold angles into the range (0,2 Pi)
*/
inline
double
angleZeroTo2Pi
(
double
angle
);
}
}
#include
"Maths.icc"
#endif
/* HERWIG_Math_H */
File Metadata
Details
Attached
Mime Type
text/x-c
Expires
Tue, Sep 30, 6:15 AM (8 h, 48 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6306001
Default Alt Text
Maths.h (782 B)
Attached To
Mode
rHERWIGHG herwighg
Attached
Detach File
Event Timeline
Log In to Comment