[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #37538] Slice of diagonal matrix cannot broadc
From: |
Juan Pablo Carbajal |
Subject: |
[Octave-bug-tracker] [bug #37538] Slice of diagonal matrix cannot broadcast |
Date: |
Wed, 10 Oct 2012 14:09:33 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5 |
URL:
<http://savannah.gnu.org/bugs/?37538>
Summary: Slice of diagonal matrix cannot broadcast
Project: GNU Octave
Submitted by: juanpi
Submitted on: Wed 10 Oct 2012 02:09:32 PM GMT
Category: Interpreter
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: Any
_______________________________________________________
Details:
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)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?37538>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #37538] Slice of diagonal matrix cannot broadcast,
Juan Pablo Carbajal <=