bugGNU Octave - Bugs: bug #36964, incorrect low-rank product of...

 
 

bug #36964: incorrect low-rank product of sliced diagonal matrices

Submitter:  None
Submitted:  Thu 26 Jul 2012 01:51:20 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  André Gaul Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.2.4
Operating System:  * GNU/Linux Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 26 Jul 2012 01:59:14 PM UTC, comment #1: 

Update to a newer Octave version. This bug has since been fixed.

Since you're probably using Ubuntu, try these:

http://octave.org/wiki/Octave_for_GNU_Linux:_Binary_Octave_packages_for_GNU_Linux#Unofficial_binaries

The PPAs are the best option.

Jordi Gutiérrez Hermoso <jordigh>
Group Member
Thu 26 Jul 2012 01:51:20 PM UTC, original submission:  

In Octave 3.2.4 the product of 2 sliced diagonal matrices yields a wrong result:

octave:1> I=eye(2); U=I(:,1); U*U'
ans =

Diagonal Matrix

   1   0
   0   1

The result should be [1,0;0,0] and indeed it is correct if full() is applied in the construction of I:

octave:2> I=full(eye(2)); U=I(:,1); U*U'
ans =

   1   0
   0   0


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jordigh (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2012-07-26 jordigh StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code