[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bad random numbers
From: |
Timothy H. Keitt |
Subject: |
Re: bad random numbers |
Date: |
Tue, 13 Jul 1999 14:27:43 -0700 |
Its probably a good idea to "warm up" the generator by discarding the first
1000 or so numbers. I would add this to the seed routine.
Tim
Gerald Jansen wrote:
> "John W. Eaton" wrote:
> > On 13-Jul-1999, Mike Miller <address@hidden> wrote:
> > | Note that the resulting matrix always had a very small number in the
> > | 1,1 cell. The value in that cell ranged from .003 to .017 ...
> >
> > The initial seeds for rand are computed from time(). Not random
> > itself, but at least it should be different each time you run Octave.
>
> Perhaps the first random number should be discarded if the seed computed
> from time() leads to patterns, like those observed by Mike, on some
> systems.
>
> --
> Gerald Jansen
>
> ---------------------------------------------------------------------
> 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
> ---------------------------------------------------------------------
---------------------------------------------------------------------
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
---------------------------------------------------------------------
Re: bad random numbers, Mike Miller, 1999/07/13
- Re: bad random numbers, John W. Eaton, 1999/07/13
- Re: bad random numbers, Mike Miller, 1999/07/13
- Re: bad random numbers, John W. Eaton, 1999/07/13
- Re: bad random numbers, A+A Adler, 1999/07/13
- Re: bad random numbers, Mike Miller, 1999/07/13
- Re: bad random numbers, John Judge, 1999/07/13