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

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

[Octave-bug-tracker] [bug #47415] out of memory with factorized sparse m


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide
Date: Tue, 15 Mar 2016 20:52:00 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:45.0) Gecko/20100101 Firefox/45.0

Follow-up Comment #6, bug #47415 (project octave):

I don't know whether it is relevant, but I tried the following in Octave and
Matlab:


>> version
ans =
8.6.0.267246 (R2015b)
>> A = sprandn (5, 5, .4);
>> full (A)
ans =
    0.3035         0         0   -0.6003         0
    0.4900         0         0         0         0
         0    0.7394         0         0         0
         0         0    1.7119         0         0
   -0.1941         0         0         0         0
>> full (-A)
ans =
   -0.3035         0         0    0.6003         0
   -0.4900         0         0         0         0
         0   -0.7394         0         0         0
         0         0   -1.7119         0         0
    0.1941         0         0         0         0

>> -full (A)
ans =
   -0.3035         0         0    0.6003         0
   -0.4900         0         0         0         0
         0   -0.7394         0         0         0
         0         0   -1.7119         0         0
    0.1941         0         0         0         0




>> version
ans = 4.1.0+
>> A = sprandn (5, 5, .4);
>> full (A)
ans =
  -0.74912   0.00000   0.00000   0.00000   0.00000
   0.00000   0.00000   0.00000   0.00000   0.00000
   0.00000   0.00000  -0.54435   1.02264   0.00000
   0.00000  -0.95284   0.00000  -0.64702   0.21304
  -0.78968   0.49972  -1.67818   0.00000  -0.07748
>> full (-A)
ans =
   0.74912   0.00000   0.00000   0.00000   0.00000
   0.00000   0.00000   0.00000   0.00000   0.00000
   0.00000   0.00000   0.54435  -1.02264   0.00000
   0.00000   0.95284   0.00000   0.64702  -0.21304
   0.78968  -0.49972   1.67818   0.00000   0.07748
>> -full (A)
ans =
   0.74912  -0.00000  -0.00000  -0.00000  -0.00000
  -0.00000  -0.00000  -0.00000  -0.00000  -0.00000
  -0.00000  -0.00000   0.54435  -1.02264  -0.00000
  -0.00000   0.95284  -0.00000   0.64702  -0.21304
   0.78968  -0.49972   1.67818  -0.00000   0.07748
>>



does this mean Matlab returns 0 for negating the zero entries in a full matrix
while Octave returns -0 ?



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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