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

Denis Laxalde denis.laxalde@mcgill...
Thu Oct 6 10:05:09 CDT 2011


On Thu, 06 Oct 2011 16:57:37 +0200,
Pauli Virtanen wrote:
> > 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.

That's a good point, indeed.


More information about the SciPy-Dev mailing list