A naming survey for get_array_bandwidth

Dear all, We just merged https://github.com/scipy/scipy/pull/14701 for the following 3 funcs get_array_bandwidth issymmetric ishermitian The first name is admittedly not very good and we want to change it. So far we would like to find a name that gives the connotation of "I'll return how many sub and super diagonals that are nonzero for a 2D array" In that regard we are thinking the following candidates but please add yours too get_bandwidth nonzero_diags count_nonzero_diags count_bands bandcount It would be great if you can cast your vote this week best, ilhan

In that regard we are thinking the following candidates but please add yours too
get_bandwidth nonzero_diags count_nonzero_diags count_bands bandcount
diagonal_bandwidth? Not something I’ve ever worked with, but having done a quick web search about banded matrices, “diagonal_bandwidth” would work for me. With best wishes, Todd

Over the PR discussion, Andras mentioned also the good ol' "bandwidth" as a name. While Ralf and I quite dislike the name (especially given the signal and controls meaning) it might be a lost fight to make a new name since https://nl.mathworks.com/help/matlab/linear-algebra.html?s_tid=CRUX_lftnav (Click Matrix Structure section) https://mathworld.wolfram.com/Bandwidth.html (not mathematica but Weinstein's definition encyclopedia) https://octave.sourceforge.io/octave/function/bandwidth.html https://en.wikipedia.org/wiki/Band_matrix (again includes bandwidth) Checked but couldn't finds : Julia Linalg, SageMath, Maple So I'm inclined to follow suit, thoughts? On Mon, Oct 18, 2021 at 8:55 PM Todd Bailey <shoppert@baileywick.plus.com> wrote:
In that regard we are thinking the following candidates but please add yours too
get_bandwidth nonzero_diags count_nonzero_diags count_bands bandcount
diagonal_bandwidth?
Not something I’ve ever worked with, but having done a quick web search about banded matrices, “diagonal_bandwidth” would work for me.
With best wishes, Todd
_______________________________________________ SciPy-Dev mailing list -- scipy-dev@python.org To unsubscribe send an email to scipy-dev-leave@python.org https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: ilhanpolat@gmail.com

+1 for linalg.. *... bandwidth чт, 21 окт. 2021 г., 01:50 Ilhan Polat <ilhanpolat@gmail.com>:
Over the PR discussion, Andras mentioned also the good ol' "bandwidth" as a name. While Ralf and I quite dislike the name (especially given the signal and controls meaning) it might be a lost fight to make a new name since
https://nl.mathworks.com/help/matlab/linear-algebra.html?s_tid=CRUX_lftnav (Click Matrix Structure section) https://mathworld.wolfram.com/Bandwidth.html (not mathematica but Weinstein's definition encyclopedia) https://octave.sourceforge.io/octave/function/bandwidth.html https://en.wikipedia.org/wiki/Band_matrix (again includes bandwidth)
Checked but couldn't finds : Julia Linalg, SageMath, Maple
So I'm inclined to follow suit, thoughts?
On Mon, Oct 18, 2021 at 8:55 PM Todd Bailey <shoppert@baileywick.plus.com> wrote:
In that regard we are thinking the following candidates but please add yours too
get_bandwidth nonzero_diags count_nonzero_diags count_bands bandcount
diagonal_bandwidth?
Not something I’ve ever worked with, but having done a quick web search about banded matrices, “diagonal_bandwidth” would work for me.
With best wishes, Todd
_______________________________________________ SciPy-Dev mailing list -- scipy-dev@python.org To unsubscribe send an email to scipy-dev-leave@python.org https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: ilhanpolat@gmail.com
_______________________________________________ SciPy-Dev mailing list -- scipy-dev@python.org To unsubscribe send an email to scipy-dev-leave@python.org https://mail.python.org/mailman3/lists/scipy-dev.python.org/ Member address: evgeny.burovskiy@gmail.com

On Wed, Oct 20, 2021 at 4:50 PM Ilhan Polat <ilhanpolat@gmail.com> wrote:
Over the PR discussion, Andras mentioned also the good ol' "bandwidth" as a name. While Ralf and I quite dislike the name (especially given the signal and controls meaning) it might be a lost fight to make a new name since
https://nl.mathworks.com/help/matlab/linear-algebra.html?s_tid=CRUX_lftnav (Click Matrix Structure section) https://mathworld.wolfram.com/Bandwidth.html (not mathematica but Weinstein's definition encyclopedia) https://octave.sourceforge.io/octave/function/bandwidth.html https://en.wikipedia.org/wiki/Band_matrix (again includes bandwidth)
Checked but couldn't finds : Julia Linalg, SageMath, Maple
So I'm inclined to follow suit, thoughts?
On Mon, Oct 18, 2021 at 8:55 PM Todd Bailey <shoppert@baileywick.plus.com> wrote:
In that regard we are thinking the following candidates but please add yours too
get_bandwidth nonzero_diags count_nonzero_diags count_bands bandcount
diagonal_bandwidth?
Not something I’ve ever worked with, but having done a quick web search about banded matrices, “diagonal_bandwidth” would work for me.
With best wishes, Todd
Maybe "bandedwidth"?
Chuck
participants (4)
-
Charles R Harris
-
Evgeni Burovski
-
Ilhan Polat
-
Todd Bailey