octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output


From: John W. Eaton
Subject: [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions
Date: Thu, 27 Oct 2022 14:32:15 -0400 (EDT)

Follow-up Comment #5, bug #63281 (project octave):

What does Matlab do for the following expressions?


A = sprand (10, 10, 0.1)
x = 1
A + x
sx = sparse (x)
A + sx
r = 1:10
A + r
sr = sparse (r)
A + sr


Are the results all sparse?  Is Matlab consistent with regard to all
operators?


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?63281>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]