An implementation of PseudoPrimeGenerator which uses a prime table generated by trial division.
# File lib/backports/1.9.1/stdlib/prime.rb, line 317 def rewind initialize end
# File lib/backports/1.9.1/stdlib/prime.rb, line 314 def succ TrialDivision.instance[@index += 1] end
Generated with the Darkfish Rdoc Generator 2.