Skip to main content

HDR Random Generator

Project description

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

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.4.tar.gz (16.6 kB view details)

Uploaded Source

Built Distribution

hdr_random-0.0.4-py3-none-any.whl (15.8 kB view details)

Uploaded Python 3

File details

Details for the file hdr-random-0.0.4.tar.gz.

File metadata

  • Download URL: hdr-random-0.0.4.tar.gz
  • Upload date:
  • Size: 16.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.6

File hashes

Hashes for hdr-random-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b09dfd06a8bfcda3ea459ba3f0cb0eee01482edfab005d98b847f1564a7a876f
MD5 a70b601fb324eb4a32e1125188270a11
BLAKE2b-256 f2ed2caf6d692a094db16492358fc30f3844a397efac0ceff650a768a74f8965

See more details on using hashes here.

File details

Details for the file hdr_random-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: hdr_random-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.8.6

File hashes

Hashes for hdr_random-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7caac4801477e0f997469fdef1ec886609239825f7f2ed905ab66215f01c3ae5
MD5 31298503443f1de8e72087cd50bb232d
BLAKE2b-256 03261c1e2fab3890f1a267d1bd85dc20d0ffec0187cb516ddef775ee84d686c3

See more details on using hashes here.

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