octave-bug-tracker
[Top][All Lists]
Advanced

[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 19:22:43 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #10, bug #53299 (project octave):

@deego - compare these examples



for i = 1:100; rand ('seed', 'reset'); disp (rand ('seed')); endfor

for i = 1:100; rand ('seed', 'reset'); disp (rand ('seed')); pause (.1);
endfor

for i = 1:100; rand ('seed', 'reset'); disp (rand ('seed')); pause (1);
endfor



I think that should explain why you are seeing what you are, but I have no
idea how to convey such a mess in a clear way in the documentation.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53299>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]