celeries.prime.pf2int#

celeries.prime.pf2int(pf)#

Compute an integer from its prime factors decomposition.

Parameters:
dicdict

Dictionary of prime factor -> power.

Returns:
nint

Integer corresponding to the decomposition.