Expand description

Traits and functions for general purpose, everyday mathematics. Everything you need.

Modules

Macros for calculating different kinds of averages of values.

Traits

Trait for several kinds of averages.

Trait for the Digits of a given number.

Trait for several useful generic functions.

Functions

Panics if a given value x is odd.

Compute the absolute difference (“Delta”) between two values.

Calculates the division of two factorials of the form n! ÷ (n - k)!.

The gamma function Γ(z) for all z ∈ ℝ \ {-1}.

Calculates the factorial of a number.

Find the greatest common divisor between two values.

Computes th nth fibonacci number (up to 186th) accurately using the fastest available computing method.

Compute the nth-root of a number.

Allows for square roots of negative numbers.

Allows for square roots of negative numbers.