bugGNU Octave - Bugs: bug #37538, Slice of diagonal matrix cannot...


bug #37538: Slice of diagonal matrix cannot broadcast

Submitter:  Juan Pablo Carbajal <juanpi>
Submitted:  Wed 10 Oct 2012 02:09:32 PM UTC
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Sat 19 Nov 2016 10:41:43 PM UTC, comment #1: 

This issue is still present in Octave 4.2.0.

But it probably is a duplicate of bug #35787.

Hartmut <hardy>
Wed 10 Oct 2012 02:09:32 PM UTC, original submission:  


The slices of diagonal matrices (also diagonal matrices) are not automatically broadcasted.


A = eye(3);  # Diagonal Matrix
v = A(1,:);  # Single row Diagonal Matrix
B = rand(3); # Full Matrix

# Test
B - [1 0 0]; # No problem

B - v;
error: operator +: nonconformant arguments (op1 is 3x3, op2 is 1x3)

Juan Pablo Carbajal <juanpi>
Project Member


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

Attach Files:

No files currently attached


   bug dependencies.

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by mtmiller (Updated the item)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by rik5
  • -email is unavailable- added by juanpi (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 project members can vote.





    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-11-21 mtmiller StatusConfirmed Duplicate
        Open/ClosedOpen Closed
    2016-11-20 rik5 Dependencies- Depends on bugs #35787
    2012-10-15 rik5 StatusNone Confirmed
        Carbon-Copy- Added jordigh

    Back to the top

    Powered by Savane 3.9