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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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:  

Hi,

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

Example


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>
Group Member

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

Digest:
   bug dependencies.

No items depend on this one.

 

Mail Notification Carbon-Copy List

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)
  •  

    Votes

    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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

    History

    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.16-1eaf.
    Corresponding source code