class Generator::TwentyThree
- Generator::TwentyThree
- Generator::PseudoPrime
- Reference
- Object
Overview
Generates all integers which are greater than 2 and are not divisible by either 2 or 3.
This is a pseudo-prime generator, suitable on checking primality of an integer by brute force method.
Defined in:
generators/twenty_three.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