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

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

[Octave-bug-tracker] [bug #32364] problem multiplying permutation and sp


From: David Bateman
Subject: [Octave-bug-tracker] [bug #32364] problem multiplying permutation and sparse matrices
Date: Tue, 08 Feb 2011 23:53:48 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.14) Gecko/2009091010 Iceweasel/3.0.14 (Debian-3.0.14-1)

Follow-up Comment #2, bug #32364 (project octave):

Strictly speaking the sparse code doesn't need to make the assumption that
the row indexes are in order, however doing so makes some code simpler, while
making other code more difficult. I made the choice when I started writing the
sparse code to assume that the row indexes were ordered and all of the sparse
code would have to be gone over to remove this assumption. So probably the
best thing to do here is to modify PM * SM so that it to orders the row
indexes. Fortunately, by its nature SM * PM already does so.

Here is a patch that I think does the right thing but its received little
testing

D.


(file #22632)
    _______________________________________________________

Additional Item Attachment:

File name: patch.perm                     Size:1 KB


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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