Re: Let's try this ONE more time :-)
- Posted by "Igor Kachan" <kinz at peterlink.ru> Jul 06, 2004
- 474 views
Hi Al, You wrote: ---------- > From: Al Getz <guest at RapidEuphoria.com> > To: EUforum at topica.com > Subject: Let's try this ONE more time > Sent: 5 jul 2004 y. 22:51 > > posted by: Al Getz <Xaxo at aol.com> > > For people that cant read English, If people cant read English, then any new your attempt to bring the truth in the last instance in English looks like crazy next one. Da, ne tak li? --> Yes, isn't it? Try another language please, great Mumbo Jumbo can be good ... I think ... I do not know ... Russian is good, Juergen loves German, I think ... What is your favourite second language? > i post this one more time: > > constant n=#10000 > > function Rand32() > --no reason why you cant make this more inline... > atom a,b,c > > a=rand(n)-1 > b=rand(n)-1 > c=a*n+b > return c > end function > Notes: > 1. For two added rnd numbers the distribution > should be the same. Sum of two random numbers with same flat distribution gives the number with triangle distribution (Simpson's distribution). What do you mean under "two added rnd numbers" ? > It's multiplication that changes the distribution. Yes, multiplication changes the distribution too. > 2. Two rand sequences from the same generator that > show no correlation, when added, form a new rand > sequence that will show no correlation to another > rand sequence generated in exactly the same way. Correlation and distribution are the different things. We need the flat distribution in [0,#FFFFFFFF] range, as far as I can see in the first Juergen's post. > 3. Multiplication, such as rand1*rand2 > changes the distribution greatly. Yes, changes. > 4. Note that to generate 'a' above you cant use rand(n). Shoot me, I can not understand this your note ... > Take care, > Al > > And, good luck with your Euphoria programming! Good Luck! Regards, Igor Kachan kinz at peterlink.ru