[SciPy-Dev] scipy.sparse spdiags/dia_matrix additional calling mode
Thu Oct 6 08:34:10 CDT 2011
Well, when you put it like that, I guess I agree as well. :)
On Thu, Oct 6, 2011 at 3:31 PM, Jonathan Guyer <firstname.lastname@example.org> wrote:
> On Oct 6, 2011, at 9:26 AM, Pauli Virtanen wrote:
> > I think adding a new function called `diags` could be justified here.
> > Numpy already has a function called `diag`, and with the new semantics
> > one would have
> > diags([a, b, c], [i, j, k]) == diag(a, i) + diag(b, j) + diag(c, k)
> > which hangs together nicely.
> SciPy-Dev mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev