Skip to content

chrphb/hdr-random

Repository files navigation

hdr-random

A library based on Probably Management.

See the initial work from Doug Hubbard: A MULTI-DIMENSIONAL, COUNTER-BASED PSEUDO RANDOM NUMBER GENERATOR AS A STANDARD FOR MONTE CARLO SIMULATIONS

Install

pip install hdr_random

How to use

Here is the way to generate a sequence of 10 random numbers: see the class HDRandom

x = HDRandom(entity=10, varId=2, seed3=3, seed4=4)
for c in range(1,10):
    print(x.generate(c))
0.18532938009593636
0.9937039703363553
0.09836426738183945
0.7941507144132629
0.7279702170053497
0.03101965703535825
0.41562155552674085
0.06352685287129134
0.8691775795305148

About

HDR Random Generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published