Lfrand.3kaya

Langue: en

Version: March 2009 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Lfrand - 'Lagged Fibonacci' random number generator

DESCRIPTION

This module implements a 'Lagged Fibonacci' pseudo-random number generator. This type of RNG gives considerably better quality numbers than the standard Builtins.rand(3kaya) function, and so is suitable for use in simulations requiring a good degree of randomness (though not in cryptography).

You should call Lfrand.lfSrand(3kaya) before using other functions from this module.

DATA TYPES

Lfrand.Dicespec(3kaya)

EXCEPTIONS

Lfrand.ValueOutOfRange(3kaya)

FUNCTIONS

Lfrand.lfDice(3kaya)

Lfrand.lfIntRand(3kaya)

Lfrand.lfRand(3kaya)

Lfrand.lfRawRand(3kaya)

Lfrand.lfSrand(3kaya)

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.