method
from_prime_division
from_prime_division(pd)
public
Hide source
# File lib/mathn.rb, line 37 def Integer.from_prime_division(pd) value = 1 for prime, index in pd value *= prime**index end value end