[SciPy-Dev] scipy.sparse spdiags/dia_matrix additional calling mode

Pauli Virtanen pav@iki...
Thu Oct 6 09:57:37 CDT 2011

06.10.2011 16:41, Denis Laxalde kirjoitti:
> However this trailing 's' is not so consistent with other sparse matrix
> constructors (e.g. eye, kron, identity) which follow NumPy names.

Those, however, are just the sparse version of their Numpy counterparts.
The Numpy `diag` function only takes a single diagonal, so one cannot
use that as the name.

Pauli Virtanen

More information about the SciPy-Dev mailing list