math library
A collection of common mathematical functions.
Classes
- AtkinPrimeSieve
- Prime sieve of Atkin (linear sieve).
- EratosthenesPrimeSieve
- Prime sieve of Eratosthenes.
- EulerPrimeSieve
- Prime sieve of Euler (linear sieve).
- PrimeSieve
- Abstract sieve implementation for primes up to and including max.
Extensions
- BinomialBigIntExtension on BigInt
- BinomialIntegerExtension on int
- BitUint32Extension on int
- Bit twiddling loosely based on http://graphics.stanford.edu/~seander/bithacks.html.
- DigitsBigIntExtension on BigInt
- DigitsIntegerExtension on int
- FactorialBigIntExtension on BigInt
- FactorialIntegerExtension on int
- HyperbolicNumberExtension on num
- LcmBigIntExtension on BigInt
- LcmIntegerExtension on int
- MathNumberExtension on num
-
PolynomialIterableExtension
on Iterable<
num> - PrimesIntegerExtension on int
- ProbablyPrimeBigIntExtension on BigInt
- ProbablyPrimeComplexExtension on Complex
- ProbablyPrimeIntegerExtension on int