class Generator::Eratosthenes
- Generator::Eratosthenes
- Generator::PseudoPrime
- Reference
- Object
Overview
An implementation of +PseudoPrimeGenerator+.
Uses +EratosthenesSieve+.
Defined in:
generators/eratosthenes.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