[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: |
Lachlan Andrew |
Subject: |
[Octave-bug-tracker] [bug #47415] out of memory negating a permutation matrix |
Date: |
Wed, 23 Mar 2016 00:58:09 +0000 |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
Follow-up Comment #14, bug #47415 (project octave):
On 8.2.0.701 (R2013b), it produces
testsignbit (1)
testsignbit (-1)
testsignbit (0)
testsignbit (-0)
Hello, World!
Hello, World!
SIGNBIT!
Hello, World!
Hello, World!
SIGNBIT!
It seems that this extends to retaining the sign of zeros in diagonal
matrices:
>> d = diag ([1, 2])
d =
1 0
0 2
>> -d
ans =
-1 0
0 -2
>> 1./-d
ans =
-1.0000 -Inf
-Inf -0.5000
Comment #5 asked if it is important that -full (P) and full (-P) produce the
same result. I think it is important that
-full (P) == full (-P)
but don't think it is important the result be identical.
However, if permutation matrices are only automatically created from full
matrices, then it is probably not too bad if they are implicitly converted
back. If the sparsity is required, it would be easy to type
-sparse(jacQ)
Does Octave ever create a permutation matrix from a sparse matrix?
_______________________________________________________
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, 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, 2016/03/22
- [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 <=
- [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
- [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, Rik, 2016/03/24