[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/see
From: |
Mike Miller |
Subject: |
[Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior. |
Date: |
Wed, 7 Mar 2018 23:10:26 -0500 (EST) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0 |
Update of bug #53299 (project octave):
Severity: 3 - Normal => 2 - Minor
Item Group: Incorrect Result => Documentation
Status: None => Confirmed
_______________________________________________________
Follow-up Comment #16:
So can we say that this bug is about documenting the following two
peculiarities:
1. rand('state', 'reset') seems to not depend on the system clock, but
rand('seed', 'reset') does depend on the integer value of the system clock
(same goes for the other rand* functions).
2. rand('seed', ...) switches the internal algorithm for *all* of the rand
functions. This is documented in the section of the manual describing the rand
functions, but not in the rand doc strings themselves.
Does that summarize the issues here?
The startup random state bug I found is now bug #53300.
I agree with deego, it might be possible to turn the rand('seed', ...) style
calls into wrappers for the new algorithm and just remove the old algorithms
completely. There might still be some behavioral compatibility issues to think
about. That could be tracked in a separate bug report or project.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53299>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., (continued)
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Mike Miller, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Rik, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Rik, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Mike Miller, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Mike Miller, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Rik, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Dave Goel, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Dave Goel, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Dave Goel, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Dave Goel, 2018/03/07
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior.,
Mike Miller <=
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Rik, 2018/03/08
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Michael Godfrey, 2018/03/08
- [Octave-bug-tracker] [bug #53299] Several rand/randn bugs with state/seed behavior., Rik, 2018/03/08
- [Octave-bug-tracker] [bug #53299] Document more fully rand state/seed behavior, Rik, 2018/03/10
- [Octave-bug-tracker] [bug #53299] Document more fully rand state/seed behavior, Mike Miller, 2018/03/26