|
Mdouble | mathsFunc::gamma (Mdouble gamma_in) |
| This is the gamma function returns the true value for the half integer value. More...
|
|
Mdouble | mathsFunc::chi_squared (const Mdouble x, const unsigned int k) |
| This is a chi_squared function return the value x and degrees of freedom k. More...
|
|
Mdouble | mathsFunc::chi_squared_prob (const Mdouble x, const unsigned int k) |
| This is the function which actually gives the probability back using a chi squared test. More...
|
|
double | mathsFunc::goldenSectionSearch (double(*function)(const double), double min, double cur, double max, double endCondition, double curVal=std::numeric_limits< Mdouble >::quiet_NaN()) |
| This function performs a golden section search to find the location of the minimum of a function. More...
|
|
template<typename T > |
int | mathsFunc::sign (T val) |
| This is a sign function, it returns -1 for negative numbers, 1 for positive numbers and 0 for 0. More...
|
|
template<typename T > |
T | mathsFunc::square (T val) |
| squares a number More...
|
|
template<typename T > |
T | mathsFunc::cubic (T val) |
| calculates the cube of a number More...
|
|
bool | mathsFunc::isEqual (Mdouble v1, Mdouble v2, double absError) |
| Compares the difference of two Mdouble with an absolute error, useful in UnitTests. More...
|
|
bool | mathsFunc::isEqual (Vec3D v1, Vec3D v2, double absError) |
| Compares the difference of two Vec3D with an absolute error, useful in UnitTests. More...
|
|
template<typename T > |
constexpr T | mathsFunc::factorial (const T t) |
| factorial function More...
|
|
Mdouble | besselFunc::chebyshev (Mdouble x, const Mdouble coef[], int N) |
|
Mdouble | besselFunc::I0_exp (Mdouble x) |
|
Mdouble | besselFunc::I0 (Mdouble x) |
|