cepgen is hosted by Hepforge, IPPP Durham
CepGen 1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Math.cpp File Reference
#include <cmath>
#include "CepGen/Utils/Math.h"
+ Include dependency graph for Math.cpp:

Go to the source code of this file.

Namespaces

namespace  cepgen
 Common namespace for this Monte Carlo generator.
 
namespace  cepgen::utils
 Collection of utilities.
 

Functions

template<typename T >
bool positive (const T &val)
 Check if a number is positive and finite.
 
template bool positive< double > (const double &)
 
template bool positive< float > (const float &)
 
template bool positive< int > (const int &)
 
double fastHypot (double x, double y)
 
double fastHypot (double x, double y, double z)
 
double fastSqrtSqDiff (double, double)
 Compute the square root of the squared difference (sqrt(a^2-b^2))