Re: Re: Re: RANDOM function? - Mailing list pgsql-novice

From ghaverla@freenet.edmonton.ab.ca
Subject Re: Re: Re: RANDOM function?
Date
Msg-id Pine.A41.3.95.1010731072114.47568C-100000@freenet.edmonton.ab.ca
Whole thread Raw
In response to Re: Re: RANDOM function?  (Einar Karttunen <ekarttun@cs.Helsinki.FI>)
List pgsql-novice

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)



pgsql-novice by date:

Previous
From: ghaverla@freenet.edmonton.ab.ca
Date:
Subject: Re: Re: Re: Re: RANDOM function?
Next
From: Einar Karttunen
Date:
Subject: Re: Re: RANDOM function?