1Lfrand(3kaya)                Kaya module reference               Lfrand(3kaya)
2
3
4

NAME

6       Lfrand - 'Lagged Fibonacci' random number generator
7

DESCRIPTION

9       This module implements a 'Lagged Fibonacci' pseudo-random number gener‐
10       ator. This type of RNG gives considerably better quality  numbers  than
11       the standard Builtins.rand (3kaya) function, and so is suitable for use
12       in simulations requiring a good degree of  randomness  (though  not  in
13       cryptography).
14
15       You  should  call  Lfrand.lfSrand  (3kaya) before using other functions
16       from this module.
17

DATA TYPES

19       Lfrand.Dicespec (3kaya)

EXCEPTIONS

21       Lfrand.ValueOutOfRange (3kaya)

FUNCTIONS

23       Lfrand.lfDice (3kaya)
24       Lfrand.lfIntRand (3kaya)
25       Lfrand.lfRand (3kaya)
26       Lfrand.lfRawRand (3kaya)
27       Lfrand.lfSrand (3kaya)

AUTHORS

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

LICENSE

32       The  Kaya  standard  library  is free software; you can redistribute it
33       and/or modify it under the terms  of  the  GNU  Lesser  General  Public
34       License  (version  2.1  or  any later version) as published by the Free
35       Software Foundation.
36
37
38
39Kaya                             December 2010                   Lfrand(3kaya)
Impressum