From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,FAKE_REPLY_C, MAILING_LIST_MULTI autolearn=unavailable autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7fc42d2c6a0eedc X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-03 04:26:20 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!freenix!enst.fr!not-for-mail From: "David C. Hoos, Sr." Newsgroups: comp.lang.ada Subject: Re: Ada2005 random Date: Thu, 3 Apr 2003 06:27:35 -0600 Organization: ENST, France Message-ID: Reply-To: "comp.lang.ada mail to news gateway" NNTP-Posting-Host: marvin.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Trace: avanie.enst.fr 1049372780 74483 137.194.161.2 (3 Apr 2003 12:26:20 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Thu, 3 Apr 2003 12:26:20 +0000 (UTC) Cc: ica2ph@sinus.csv.ica.uni-stuttgart.de To: "comp.lang.ada mail to news gateway" Return-Path: X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-BeenThere: comp.lang.ada@ada.eu.org X-Mailman-Version: 2.1 Precedence: list List-Id: comp.lang.ada mail to news gateway List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Xref: archiver1.google.com comp.lang.ada:35904 Date: 2003-04-03T06:27:35-06:00 ----- Original Message ----- From: "Peter Hermann" Newsgroups: comp.lang.ada To: Sent: April 03, 2003 3:56 AM Subject: Re: Ada2005 random > Lutz and all, > > * Peter Hermann wrote: > >> In an application I need a variable discrete random function. > ^^^^^^^^ > with "variable" I meant the following flexibility, e.g. : > a := random(generator1, 1 , 9); > b := random(generator1, 1 , 8); > c := random(generator1, 3 , 7); Such an approach is statistcally dubious, since the same generator is being used for all draws. Normally, one would use a distinct generator for each sequence. > _______________________________________________ > comp.lang.ada mailing list > comp.lang.ada@ada.eu.org > http://ada.eu.org/mailman/listinfo/comp.lang.ada > >