On Tue, 31 Jul 2001, Einar Karttunen wrote:
> That sounds very hard to implement effeciently. Could you send me some
> high level pseudocode? I think that a with 31 bit random integers the
> probablity to get the same value is very very small. If it is too big
> I can always change to bigints.
I got 516 hits at Google.com on
random number generator "without replacement"
some hits in C, some in C++, .... One employs the
Gnu Scientific Library,
Gord
Matter Realisations http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101 9504 182 St. NW Edmonton, AB, CA T5T 3A7
780/481-8019 ghaverla @ freenet.edmonton.ab.ca
780/993-1274 (cell)