chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] srfi-27 - producing pseudo and truly random numbers


From: Ivan Raikov
Subject: Re: [Chicken-users] srfi-27 - producing pseudo and truly random numbers over a uniform distribution
Date: Mon, 29 Oct 2007 08:46:02 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hello,

    Does the random-mtzig egg do what you need? It can be seeded from
/dev/urandom, or with a constant supplied by the user, and you could
have multiple seed states that are passed to the random number
generating routines in the egg. I can also add some convenience
functions, if they would fit your needs better.

           -Ivan


"Terrence Brannon" <address@hidden> writes:

> In addition to the bug I filed on this egg - http://trac.callcc.org/ticket/346
>
> I have a question about common usage of this module.
>
> I would like to produce one function, roll-fixed, which produces
> pseudorandom numbers in the documented fashion of random-real and
> random in SRFI-27. Such that the sequence of randoms (over a uniform
> distribution) is predictable on each new startup of the intepreter:
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]