[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #34351] Feature Request : rand[nep] should acc
From: |
Michael Godfrey |
Subject: |
[Octave-bug-tracker] [bug #34351] Feature Request : rand[nep] should accept a final "class" argument |
Date: |
Sat, 19 May 2012 11:22:31 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:12.0) Gecko/20100101 Firefox/12.0 |
Follow-up Comment #4, bug #34351 (project octave):
>> version
ans =
7.9.0.529 (R2009b)
>> rand('state', 1)
>> rand(1,1,'single')
ans =
0.9528
>> rand(1,1)
ans =
0.7041
>> rand('state', 1)
>> rand(1,1)
ans =
0.9528
>> rand(1,1,'single')
ans =
0.7041
>>
The same result appears for the second example if
Matlab is exited and restarted and then run the
second example.
Since the Octave default behavior is not Matlab
compatible anyhoe, I think that there is no strong reason
to make this Matlab compatible too.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?34351>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/