Computes the exponential of a squared argument.
double | expx2 (double x, int sign=1)
|
Calculates the factorial of an integer number.
Calculates the falling factorial with arguments \e x and \e n.
double | falling_factorial (double x, int n)
|
Calculates the multinomial coefficient with the given arguments.
int | multinomial (int n, int *factors)
|
Calculates the rising factorial with arguments \e x and \e n.
double | rising_factorial (double x, int n)
|
Computes the binomial coefficient with the given arguments.
int | binomial_coefficient_gamma (int n, int k)
|
Calculates the multinomial coefficient with the given arguments.
int | multinomial_gamma (int n, int *factors)
|
Returns the cube root of the argument, which may be negative.
double | cubeRoot (double x)
|
Exponentiates a number and subtracts 1.
double | exp_sub1 (double x)
|
Evaluates the natural logarithm of a number + 1.
double | ln_add1 (double x)
|
Evaluation of the function x - ln(1 + x)
double | xsub_ln_add1 (double x)
|
Returns the binomial coefficient using the factorial function.
double | binomial_coefficient (int n, int k)[inline]
|
Performs the addition of two long positive integers in the given base.
std::string | add (std::string a, std::string b, int base = 10)
|
Performs the subtraction of two long positive integers in the given base.
std::string | subtract (std::string a, std::string b, int base = 10)
|
Performs the multiplication of two long positive integers in the given base.
std::string | multiply (std::string a, std::string b, int base = 10)
|
Main Karatsuba recursive algorithm
std::string | karatsuba_mul (std::string a, std::string b, int base = 10)
|
std::string | karatsuba (std::string a, std::string b, int base = 10)
|
Calculates the logarithm of the factorial with given argument.
double | log_factorial (int n)
|
Calculates the logarithm of the binomial coefficient with given arguments.
double | log_binomial (int n, int k)[inline]
|
Compute the greatest common divisor of two values.
Excel: GCD
double | gcd (double a, double b)
|
A function that calculates the nth root of an object
template<class T> T | nroot (const T& x, const T& n)
|
Computes the inverse logarithm
double | log_inv (unsigned int base, double result)
|