Difference between Matlab and Octave in random seeding

John W. Eaton jwe at bevo.che.wisc.edu
Fri Mar 7 18:28:59 CST 2008


On  7-Mar-2008, pbellec wrote:

| Well, then it would certainly be better to have rand('state',S) reset the
| state of all RNGs as was suggested by Michael.

I don't see why.  I don't see anything that says the generators must
be based on the same algorithm, so it might not even be possible for
them to share the same state.

jwe


More information about the Bug-octave mailing list