Expand description
This module contains the implementation of the type Primes (and related iterators),
which functions as a cache of prime numbers for related computations.
Structsยง
- Archived
Partial Totient - An archived
PartialTotient - Archived
Primes - An archived
Primes - Partial
Totient - Contains the result of a partially successful evaluation of the
totientfunction. - Partial
Totient Resolver - The resolver for an archived
PartialTotient - Prime
Factorization - An iterator over the prime factors of a number and their multiplicities.
- Prime
Factors - An iterator over the prime factors of a given number.
- Primes
- A wrapper around an array that consists of the first
Nprimes. Can use those primes for related computations. Ensures thatNis non-zero at compile time. - Primes
Into Iter - An owning iterator over prime numbers.
- Primes
Iter - A borrowing iterator over prime numbers.
- Primes
Resolver - The resolver for an archived
Primes