Skip to main content

HDR Random Generator

Project description

hdr-random

A library based on https://www.probabilitymanagement.org/hdr

Install

pip install hdr_random

How to use

Here is the way to generate a sequence of 1C 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(counter=c))
0.18532938009593636
0.9937039703363553
0.09836426738183945
0.7941507144132629
0.7279702170053497
0.03101965703535825
0.41562155552674085
0.06352685287129134
0.8691775795305148

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hdr-random-0.0.1.tar.gz (16.7 kB view hashes)

Uploaded Source

Built Distribution

hdr_random-0.0.1-py3-none-any.whl (15.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page