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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #30543] incompatibility for randn


From: David Bateman
Subject: [Octave-bug-tracker] [bug #30543] incompatibility for randn
Date: Sun, 25 Jul 2010 13:00:18 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Update of bug #30543 (project octave):

                  Status:                    None => Wont Fix               
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #1:

This is a known issue, but there isn't much that can be done about it without
an extensive effort to reverse engineer the exact method matlab uses to select
their random values. Fortunately there are few cases that you actually need to
have bit accurate random values between matlab and Octave. If you really do
need this, then the only solution is to overload the randn generator in matlab
with one that is compatible with the Octave one.. I send a mex-file
implementation of the rand and randn generators used in Octave a few years
back to the lists and these should still work. You can find them at

http://sourceforge.net/mailarchive/forum.php?thread_name=425A617A.3010004%40motorola.com&forum_name=octave-dev

So sorry this problem just won't be fixed.

D.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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