[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #41441] Broadcasting does not behave properly
From: |
Michael C. Grant |
Subject: |
[Octave-bug-tracker] [bug #41441] Broadcasting does not behave properly on sparse matrices |
Date: |
Sat, 30 May 2015 19:24:20 +0000 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/600.6.3 (KHTML, like Gecko) Version/8.0.6 Safari/600.6.3 |
Follow-up Comment #3, bug #41441 (project octave):
As I just discovered in my near-duplicate report #45219, one key factor is
that combinations of one real and one complex sparse matrix fail.
t1 = randn(6,3)+1j*randn(6,3);
t2 = randn(6,1);
s1 = sparse(t1);
s2 = sparse(t2);
These work fine:
t1 + t2
bsxfun( @plus, t1, t2 )
These do not:
>> s1 + s2
error: operator +: nonconformant arguments (op1 is 6x3, op2 is 6x1)
>> bsxfun(@plus,s1,s2)
error: concatenation operator not implemented for '<unknown type>' by 'sparse
complex matrix' operations
-verbatim+
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41441>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #41441] Broadcasting does not behave properly on sparse matrices,
Michael C. Grant <=