class Generator::TrialDivision
- Generator::TrialDivision
- Generator::PseudoPrime
- Reference
- Object
Overview
An implementation of +PseudoPrimeGenerator+ which uses a prime table generated by trial division.
Defined in:
generators/trial_division.crConstructors
Instance Method Summary
Instance methods inherited from class Generator::PseudoPrime
eacheach(&) each, next next, rewind rewind, size size, succ succ, upper_bound : Int32? upper_bound, upper_bound=(ubound : Int32 | Nil) upper_bound=, with_index(offset = 0)
with_index(offset = 0, &) with_index, with_object(obj)
with_object(obj, &) with_object