Uniform Random Generator
Revisão de 17h26min de 28 de dezembro de 2020 por Abaffa (discussão | contribs) (Criou página com '* Linear Congruencial Generator')
This is a generalized uniform random generator, using a Linear Congruencial Generator.
Sample Python Code
def pseudo_uniform(low=0, high=1, seed=123456789, size=1):
"""
Generates uniformly random number between 'low' and 'high' limits
"""
return low+(high-low)*pseudo_uniform_good(seed=seed,size=size)