Re: generate a huge amount of random numbers
- From: "John Herbster" <herb-sci1_AT_sbcglobal.net>
- Date: Fri, 29 Apr 2005 09:59:05 -0500
"Guenther Wimpassinger" <gw_spam@xxxxxxxxx> wrote
> I have 40,000 DWords which represtens 1,280,000
> (40,000*32) bits and each bit corespon to a cloud-point.
> > Apparently MaxProp is the probably
> > that a bit value is set to 1.
> > You could fill your array with the required number
> > of one bit values and then do some shuffling of
> > both words, bytes, and bits. Regards, JohnH
> Maybe thats an idea, I will use the weekend
> to think about it.
Guenther, Depending on the "granularity" that you
require in your MaxProp, you might be able to use
some tricks with boolean ANDs and ORs with your
arrays of bits.
Ex: If boolean values A and B are random,
independant, and with probability of 1/2, then
the probability of that A AND B is true is 1/4
and the probability that A OR B is 3/4.
You may also wish to look for ideas in Knuth's
book _The Art of Computer Programming_
Volume 2 _Seminumerical Algorithms_
Good luck thinking, JohnH
.
- References:
- generate a huge amount of random numbers
- From: Guenther Wimpassinger
- Re: generate a huge amount of random numbers
- From: John Herbster
- Re: generate a huge amount of random numbers
- From: Guenther Wimpassinger
- Re: generate a huge amount of random numbers
- From: John Herbster
- Re: generate a huge amount of random numbers
- From: Guenther Wimpassinger
- generate a huge amount of random numbers
- Prev by Date: Re: generate a huge amount of random numbers
- Next by Date: Re: Fastcode MM Rule
- Previous by thread: Re: generate a huge amount of random numbers
- Next by thread: Fastcode CompareMem B&V 1.1
- Index(es):