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

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

[Octave-bug-tracker] [bug #34173] Unary negative casts permutation matri


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #34173] Unary negative casts permutation matrices into full matrices
Date: Wed, 15 Jun 2016 08:31:19 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0

Follow-up Comment #13, bug #34173 (project octave):

Is this really a bug?

In terms of Matlab compatibility, is there any sequence of instruction that
produces a permutation matrix where Matlab doesn't produce a full matrix?  If
not, then the behaviour is entirely up to us.

If the programmer wants a sparse matrix, it is easy to convert to sparse
before negating.  They can't want a permutation matrix if it is negative.

Unless there is a Matlab compatibility issue, I would vote for documenting
this behaviour and leaving it as-is.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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