Skip to main content

Module random

Module random 

Source
Expand description

Pseudorandom Number Generators (P-RNGs)

Functions§

rand
n pseudorandom numbers from [0, 1)
rand1
One pseudorandom number from [0, 1)
randi
n pseudorandom integers from [a, b]
randi1
One pseudorandom integer from [a, b]
randn
n pseudorandom numbers from N(μ, σ)
randn1
One pseudorandom number from N(μ, σ)