mpacts.core. rng

In order to be able to use this module import it like this:

import mpacts.core.rng
#or assign it to a shorter name
import mpacts.core.rng as rng


mpacts.core.rng.random_raw() → int :

Return a raw output of pseudo random number generator. WARNING: Intended for testing purposes only.

mpacts.core.rng.random_uniform() → float :

Return a random number drawn from uniform distributio [0,1).