On Sun, Feb 9, 2025 at 6:34 PM Carlos Martin
wrote:
> The following functions accept a diagonal offset argument:
> - https://numpy.org/doc/stable/reference/generated/numpy.diag.html
> - https://numpy.org/doc/stable/reference/generated/numpy.diagflat.html
> - https://numpy.org/doc/stable/reference
Ralf Gommers wrote:
> This sounds quite reasonable to me. The `k=0` keyword is quite badly named,
> which is my one concern. Especially when tacking it on at the end of a
> signature with already 3-4 keywords, it's not a good name. How about
> something like `diag_offset`?
FWIW, we chose `offset`
On Tue, Feb 11, 2025 at 10:55 AM Lucas Colley via NumPy-Discussion <
numpy-discussion@python.org> wrote:
> Ralf Gommers wrote:
> > This sounds quite reasonable to me. The `k=0` keyword is quite badly
> named,
> > which is my one concern. Especially when tacking it on at the end of a
> > signature