Uniform Random Generator
Revisão de 17h22min de 28 de dezembro de 2020 por Abaffa (discussão | contribs) (Criou página com 'This is a generalized uniform random generator, using a Gerador Congruencial Linear')
This is a generalized uniform random generator, using a Gerador Congruencial Linear
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)