Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Python package to use the method of linear congruences to generate a random number

Project description

The package provides a function called linear_congruence_random_generator(), wich returns a randon number based on the method of linear congruences using the following parameters: a = 22695477 b = 1 m = 2**32 x0=1649836483

Also it provides and object called c_linear_congruences. It should be intialized providing the parameters x0,a,b and m. The object provides a method called linear_congruence_random_generator() wich will return a random number based on the method of linear congruences using the parameters of the object initialization.

Project details


Download files

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

Files for ie_mbdbl2018_ahirane, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size ie_mbdbl2018_ahirane-0.2.tar.gz (1.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page