[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: |
Tue, 22 Mar 2016 20:58:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
Follow-up Comment #12, bug #47415 (project octave):
Answering an earlier question: Matlab does not distinguish between 0 and -0
and stores everything as +0. Octave, for full matrices, does have both +0 and
-0. Sparse matrices, however, only store +0.
In my view, sparse, permutation, and diagonal matrices are all closer to each
other than they are to full matrices. Ergo, I also believe that permutation
matrices should behave more like sparse matrices under negation. In this
case, -P should only negate the non-zero elements of P. If we're looking for
consistency, this is already what Diagonal matrices do.
z = diag ([1 2 3])
z =
Diagonal Matrix
1 0 0
0 2 0
0 0 3
octave:11> z2 = -z
z2 =
Diagonal Matrix
-1 0 0
0 -2 0
0 0 -3
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47415>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, (continued)
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, John W. Eaton, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory with factorized sparse matrix using mldivide, Carlo de Falco, 2016/03/15
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Lachlan Andrew, 2016/03/20
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Carlo de Falco, 2016/03/21
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix,
Rik <=
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, John W. Eaton, 2016/03/22
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Lachlan Andrew, 2016/03/22
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Rik, 2016/03/23
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, John W. Eaton, 2016/03/23
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Rik, 2016/03/23
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, John W. Eaton, 2016/03/23
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Rik, 2016/03/23
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, John W. Eaton, 2016/03/23
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Carlo de Falco, 2016/03/24
- [Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix, Lachlan Andrew, 2016/03/24