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

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.

Files for rnglfg, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size rnglfg-0.2.tar.gz (2.2 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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page