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: Nicholas Jankowski
Subject: [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions
Date: Thu, 27 Oct 2022 15:08:44 -0400 (EDT)

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

oh wait, the Ar vs Asr answers the 'is it diff for a scalar' question.  But
also:



Af = full(A);
AA = issparse(A*A)
AAf = issparse(A*Af)
AA =
  logical
   1
AAf =
  logical
   0
>> AA = issparse(A.*A)
AAf = issparse(A.*Af)
AA =
  logical
   1
AAf =
  logical
   1


not really an expansion check, but another sparse 'consistency' datapoint


    _______________________________________________________

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]