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ยง
- An archived
PartialTotient - An archived
Primes - Contains the result of a partially successful evaluation of the
totientfunction. - The resolver for an archived
PartialTotient - An iterator over the prime factors of a number and their multiplicities.
- An iterator over the prime factors of a given number.
- 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. - An owning iterator over prime numbers.
- A borrowing iterator over prime numbers.
- The resolver for an archived
Primes