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

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

[Octave-bug-tracker] [bug #40105] Logical diagonal matrices are not supp


From: David Bateman
Subject: [Octave-bug-tracker] [bug #40105] Logical diagonal matrices are not supported
Date: Tue, 22 Oct 2013 18:08:56 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0

Follow-up Comment #4, bug #40105 (project octave):

You can always use spdiags. For example


logical (speye(n)) * spdiags (true (n,1), 0, n, n)


and sparse matrices are on both sides of the multiplication operator, and the
conversion to a full matrix never happens. THis has the advantage of working
similarly with matlab.

I agree it might be nice to have this but it seems a hell of a lot of effort
to introduce a new type for this an instaniate all of the operators between
thix new type and the existing types.

David

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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