openGPMP
Open Source Mathematics Package
|
A class containing miscellaneous utility functions. More...
#include <utils.hpp>
Static Public Member Functions | |
template<typename T > | |
static T | factorial (T n) |
Calculates the factorial of the given integer or double. More... | |
|
inlinestatic |
Calculates the factorial of the given integer or double.
T | The type of the input (int or double) |
n | The input value for which factorial is calculated |
Definition at line 211 of file utils.hpp.
Referenced by gpmp::stats::PDF::poisson().