[SciPy-dev] Counterpart to eye --> speye

Nils Wagner nwagner at mecha.uni-stuttgart.de
Tue Feb 14 06:22:32 CST 2006


Hi all,

Is a counterpart to eye available in scipy ?

I mean something like

def speye(n):
   return csc_matrix(eye(n))

Nils




More information about the Scipy-dev mailing list