[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:23:24 -0400 (EDT) |
Follow-up Comment #1, bug #63281 (project octave):
It's not really broadcasting if one argument is a scalar. Or at least it is
handled differently, and has always been a feature of Octave and Matlab to
allow matrix OP scalar or scalar OP matrix.
If the dimensions agree exactly, then it is just an ordinary
element-by-element operation.
The special broadcasting code is only invoked if there is a dimension mismatch
and the dimensions are such that broadcasting makes sense.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?63281>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions,
John W. Eaton <=
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, John W. Eaton, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, John W. Eaton, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27
- [Octave-bug-tracker] [bug #63281] bsxfun fails to preserve sparse output for some functions, Nicholas Jankowski, 2022/10/27