Table of Contents - prime: Ruby Standard Library Documentation
Classes and Modules
- Integer
- Prime
- Prime::EratosthenesGenerator
- Prime::EratosthenesSieve
- Prime::Generator23
- Prime::PseudoPrimeGenerator
- Prime::TrialDivision
- Prime::TrialDivisionGenerator
Methods
- ::each_prime — Integer
- ::from_prime_division — Integer
- ::new — Prime::PseudoPrimeGenerator
- ::new — Prime::EratosthenesGenerator
- ::new — Prime::TrialDivisionGenerator
- ::new — Prime::Generator23
- ::new — Prime::EratosthenesSieve
- #[] — Prime::TrialDivision
- #compute_primes — Prime::EratosthenesSieve
- #each — Prime
- #each — Prime::PseudoPrimeGenerator
- #get_nth_prime — Prime::EratosthenesSieve
- #int_from_prime_division — Prime
- #next — Prime::PseudoPrimeGenerator
- #next — Prime::EratosthenesGenerator
- #next — Prime::TrialDivisionGenerator
- #next — Prime::Generator23
- #prime? — Integer
- #prime? — Prime
- #prime_division — Integer
- #prime_division — Prime
- #rewind — Prime::PseudoPrimeGenerator
- #rewind — Prime::EratosthenesGenerator
- #rewind — Prime::TrialDivisionGenerator
- #rewind — Prime::Generator23
- #size — Prime::PseudoPrimeGenerator
- #succ — Prime::PseudoPrimeGenerator
- #succ — Prime::EratosthenesGenerator
- #succ — Prime::TrialDivisionGenerator
- #succ — Prime::Generator23
- #upper_bound — Prime::PseudoPrimeGenerator
- #upper_bound= — Prime::PseudoPrimeGenerator
- #with_index — Prime::PseudoPrimeGenerator
- #with_object — Prime::PseudoPrimeGenerator