From help-octave-request at bevo dot che dot wisc dot edu Tue Jul 13 17:09:32 1999 Subject: Re: bad random numbers From: Joao Cardoso To: Mike Miller CC: help-octave at bevo dot che dot wisc dot edu Date: Tue, 13 Jul 1999 23:10:30 +0100 Mike Miller wrote: > > On Tue, 13 Jul 1999, heberf wrote: > > > I don't think this needs to be a concern. Consider the following > > It is a huge problem. It doesn't seem to happen when running octave > interactively. It happens when running from a script or unix command > line. try: echo 'rand("seed",time);rand(3) ' | octave -q On 2.1.14 this does not seem to suffer from the reported problem, if the seed is initialized this way. Joao -- Joao Cardoso, INESC | e-mail: R. Jose Falcao 110 | tel: + 351 2 2094345 4050 Porto, Portugal | fax: + 351 2 2008487 --------------------------------------------------------------------- Octave is freely available under the terms of the GNU GPL. To ensure that development continues, see www.che.wisc.edu/octave/giftform.html Instructions for unsubscribing: www.che.wisc.edu/octave/archive.html ---------------------------------------------------------------------