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 negating a permutation m


From: Rik
Subject: [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix
Date: Wed, 23 Mar 2016 04:48:36 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

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

Matlab doesn't have Diagonal matrices in the same way that Octave does. 
Octave has special code that only stores the elements on the diagonal,
tremendously reducing storage requirements; While Matlab just implements
things as a full matrix.

As for the question of equality,


-full (P) == full (-P)


this relationship will hold even if Permutation matrices do not implement -0
because


octave:1> 0 == -0
ans =  1




    _______________________________________________________

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]