|
|
double | gamma (double) |
| | The gamma function.
|
| |
|
double | lngamma (double) |
| | The log of the gamma function.
|
| |
|
double | atanh (double) |
| | Return .
|
| |
| double | exp1m (double x) |
| | Return , with highest possible precision for . More...
|
| |
| double | log1m (double) |
| | Return , with highest possible precision for . More...
|
| |
| double | powi (double x, int p) |
| | Return x rased to the integer power p, using recursion. More...
|
| |
| double | pIntegrate (double p, double xl, double xu) |
| | Return the integral of between xl and xu. More...
|
| |
| double | pIntegrate (int p, double xl, double xu) |
| | Return the integral of between xl and xu. More...
|
| |
| double | pXIntegrate (double e, double xl, double dx) |
| | Return the integral of between xl and xl+dx with highest possible precision for and/or . More...
|
| |
| double | pGenerate (double p, double xl, double xu, double rnd) |
| | Generate an x between xl and xu distributed as . More...
|
| |
| double | pGenerate (int p, double xl, double xu, double rnd) |
| | Generate an x between xl and xu distributed as . More...
|
| |
| double | pXGenerate (double e, double xl, double dx, double rnd) |
| | Generate an x between xl and xl + dx distributed as with highest possible precision for and/or * . More...
|
| |
| template<typename FloatType > |
| double | relativeError (FloatType x, FloatType y) |
| | Returns (x - y)/(|x| + |y|). More...
|
| |
| template<typename T > |
| T | absmin (const T &x, const T &y) |
| | Return x if |x|<|y|, else return y. More...
|
| |
| template<typename T > |
| T | absmax (const T &x, const T &y) |
| | Return x if |x|>|y|, else return y. More...
|
| |
| template<typename T , typename U > |
| T | sign (T x, U y) |
| | Transfer the sign of the second argument to the first. More...
|
| |
| template<int N> |
| double | Pow (double x) |
| | Templated function to calculate integer powers known at compile-time. More...
|
| |
The Math namespace includes the declaration of some useful mathematical functions.