|
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/
[Prev in Thread] | Current Thread | [Next in Thread] |