[SciPy-dev] IPYthon's who() and sparse matrices
Nils Wagner
nwagner at mecha.uni-stuttgart.de
Thu Dec 2 03:10:12 CST 2004
Hi all,
from scipy import *
import IPython
a = rand(4,4)
who()
speye=sparse.csc_matrix(identity(4))
print speye
who()
Name Shape Bytes Type
===========================================================
a 4 x 4 128 double
Upper bound on total bytes = 128
(0, 0) 1.0
(1, 1) 1.0
(2, 2) 1.0
(3, 3) 1.0
Name Shape Bytes Type
===========================================================
a 4 x 4 128 double
Upper bound on total bytes = 128
speye is not displayed by who(). For what reason ?
Nils
More information about the Scipy-dev
mailing list