|
From: | Nik Demus |
Subject: | [Octave-bug-tracker] [bug #55126] Sparse Matrix and binary oparators |
Date: | Wed, 28 Nov 2018 10:54:10 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:63.0) Gecko/20100101 Firefox/63.0 |
URL: <https://savannah.gnu.org/bugs/?55126> Summary: Sparse Matrix and binary oparators Project: GNU Octave Submitted by: sumocin Submitted on: Wed 28 Nov 2018 03:54:09 PM UTC Category: None Severity: 3 - Normal Priority: 5 - Normal Item Group: Incorrect Result Status: None Assigned to: None Originator Name: sumocin Originator Email: Open/Closed: Open Discussion Lock: Any Release: 4.4.1 Operating System: GNU/Linux _______________________________________________________ Details: Hi, the following code fails in GNU Octave a = [1 2 0; 0 0 1; 1 0 0]; b = [1 2 3]'; % this works a .* b % this don't sparse(a).*b other commands which fail are sparse(a).^ b sparse(a)./ b sparse(a) + b sparse(a) - b In matlab they all return a sparse matrix _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?55126> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |