module Factorization

Defined in:

factorization.cr

Class Method Summary

Class Method Detail

def self.pairs(n : Int32) : Array(Tuple(Int32, Int32)) #

TODO handle negative inputs?


[View source]
def self.prime(n : Int32) #

[View source]
def self.prime(r : Rational) #

[View source]