Skip to main content

Random Number Generator with Lagged Fiboniacci Generator

Project description

lfg

Python implementation of Lagged Fibonacci Generator (LFG)

There are two methods:

lfgToFile(size, param1, param2, filename):

This method will create a file using random numbers generated with 
LFG algorithm.

Method will not return anything.

size    : File size
param1  : Lag parameter
param2  : Size of the seed
filename: Name of the output file, overwritten if exists.

lfgToList(size, param1, param2):

This method will return a list of random numbers generated with 
LFG algorithm.

size    : File size
param1  : Lag parameter
param2  : Size of the seed

To install:

sudo python3 setup.py install

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

rnglfg-0.2.tar.gz (2.2 kB view details)

Uploaded Source

File details

Details for the file rnglfg-0.2.tar.gz.

File metadata

  • Download URL: rnglfg-0.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.0.0 requests-toolbelt/0.8.0 tqdm/4.31.1 CPython/3.5.2

File hashes

Hashes for rnglfg-0.2.tar.gz
Algorithm Hash digest
SHA256 6faa7741357c9f61a2d6746cc39c93a3b13fb7c2c72344d7b9303aa5248bf474
MD5 6c4aa6007611c13cd6c20bf09181e904
BLAKE2b-256 63bd2ec45974e455192f173828cca9ea9f645b488184565ce3377d4027b3f008

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