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

Pauli Virtanen pav at iki.fi
Thu Oct 6 10:57:37 EDT 2011


06.10.2011 16:41, Denis Laxalde kirjoitti:
[clip]
> 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