Page MenuHomeHEPForge

Maths.h
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None
// -*- C++ -*-
//
// Maths.h is a part of Herwig++ - A multi-purpose Monte Carlo event generator
// Copyright (C) 2002-2007 The Herwig Collaboration
//
// Herwig++ is licenced under version 2 of the GPL, see COPYING for details.
// Please respect the MCnet academic guidelines, see GUIDELINES for details.
//
#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

Mime Type
text/x-c
Expires
Tue, Sep 30, 4:47 AM (11 h, 55 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
6299868
Default Alt Text
Maths.h (1 KB)

Event Timeline