amalthea.math

Undocumented in source.

Members

Functions

fibonacci
FibonacciRange!T fibonacci()

Returns generator of Fibonacci numbers.

gcd
ulong gcd(ulong a, ulong b)

Greatest common divisor.

isPrimeNumber
bool isPrimeNumber(ulong n)

This function checks if a number is prime.

lcm
ulong lcm(ulong a, ulong b)

Least common multiple.

logarithm
real logarithm(real b, real n)

Logarithm.

Structs

FibonacciRange
struct FibonacciRange(T)

Range of Fibonacci numbers for the 'fibonacci' function.

Meta