[SciPy-user] Interaction of sparse and dense matrices in scipy

Robert Cimrman cimrman3 at ntc.zcu.cz
Mon Feb 20 08:11:39 CST 2006


Nils Wagner wrote:

> dense                           sparse
> 
> dot(C,D)                      A*B
> linalg.norm(C)            linalg.norm(C.todense())
> linalg.kron(C,D)           ?
> identity(n), eye(n)           

Hi Nils,
I have just added speye, spidentity to the scipy.sparse (using spdiags). 
You can test them in svn.

r.



More information about the SciPy-user mailing list