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

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

[Octave-bug-tracker] [bug #34185] LUINC: pivot matrix output is a vector


From: Rik
Subject: [Octave-bug-tracker] [bug #34185] LUINC: pivot matrix output is a vector
Date: Thu, 01 Sep 2011 22:02:44 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:5.0) Gecko/20100101 Firefox/5.0

Update of bug #34185 (project octave):

                  Status:                    None => Confirmed              

    _______________________________________________________

Follow-up Comment #1:

This is a trivial fix.  The option which controls 'vector' was not initialized
to false at the start of the function.  However, because the input for luinc
is sparse the output for P is not of type "permutation matrix" but of type
"sparse".  The output from your example is 


aip =

Compressed Column Sparse (rows = 2, cols = 2, nnz = 2 [50%])

  (2, 1) ->  1
  (1, 2) ->  1


This still seems like the right fix since if users want a matrix as a return
argument they should get it, even if it looks a little strange because of the
Sparse encoding.


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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