Re: Re: Re: RANDOM function?

From: ghaverla(at)freenet(dot)edmonton(dot)ab(dot)ca
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: Re: Re: RANDOM function?
Date: 2001-07-31 13:22:59
Message-ID: Pine.A41.3.95.1010731072114.47568C-100000@freenet.edmonton.ab.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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)

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Einar Karttunen 2001-07-31 13:27:39 Re: Re: Re: RANDOM function?
Previous Message Neal Lindsay 2001-07-31 13:19:15 Re: Re: Re: RANDOM function?