1. RE: Let's try this ONE more time :-)
- Posted by "Ricardo M. Forno" <rforno at uyuyuy.com> Jul 07, 2004
- 496 views
Hi, Al. You said: <snip> > 1. For two added rnd numbers the distribution should be the same. > It's multiplication that changes the distribution. In fact, adding two or more random numbers *changes* the distribution. Old FORTRAN routines used the sum of 12 random numbers (why exactly 12? Because this was considered enough to get a good distribution) to get a Gaussian normal distribution. Regards.
2. RE: Let's try this ONE more time :-)
- Posted by Al Getz <Xaxo at aol.com> Jul 08, 2004
- 497 views
Hi Ricardo, If you had read the posts following that in the same thread you would have found that what i meant was, for a and b random with range 0 to n: a*n+b not simply a+b Some other postee's had called this 'concatenation' of two random numbers. Ricardo M. Forno wrote: > > Hi, Al. > > You said: > > <snip> > > > 1. For two added rnd numbers the distribution should be the same. > > It's multiplication that changes the distribution. > > In fact, adding two or more random numbers *changes* the distribution. > Old FORTRAN routines used the sum of 12 random numbers (why exactly 12? > Because this was considered enough to get a good distribution) to get a > Gaussian normal distribution. > > Regards. > > Take care, Al And, good luck with your Euphoria programming! My bumper sticker: "I brake for LED's"
3. RE: Let's try this ONE more time :-)
- Posted by "Ricardo M. Forno" <rforno at uyuyuy.com> Jul 08, 2004
- 476 views
Can you disclose your method, Rob? Regards. ----- Original Message ----- From: Robert Craig <guest at RapidEuphoria.com> To: <EUforum at topica.com> Sent: Wednesday, July 07, 2004 1:35 PM Subject: Re: Let's try this ONE more time > > > posted by: Robert Craig <rds at RapidEuphoria.com> > > Al Getz wrote: > > By the way, anyone know the period of the current Euphoria random > > number generator? > > I believe it's something like power(2, 61). > > If you had been computing one rand() per second > since the "Big Bang", you might be getting close > to repeating by now. > > Regards, > Rob Craig > Rapid Deployment Software > http://www.RapidEuphoria.com > > > >
4. RE: Let's try this ONE more time :-)
- Posted by Robert Craig <rds at RapidEuphoria.com> Jul 08, 2004
- 487 views
Ricardo M. Forno wrote: > Can you disclose your method, Rob? It's in the Interpreter source code package. I think some people are using it for encryption, so it's probably better that I not widely publicize the details of how it works. It's pretty good, but I'm sure there are other algorithms just as good or better. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com