This is documentation for an old release of SciPy (version 0.9.0). Read this page in the documentation of the latest stable release (version 1.15.1).

scipy.sparse.dok

Dictionary Of Keys based matrix

Functions

getdtype(dtype[, a, default]) Function used to simplify argument processing.
isdense(x)
isintlike(x) Is x appropriate as an index into a sparse matrix? Returns True
isscalarlike(x) Is x either a scalar, an array scalar, or a 0-dim array?
isshape(x) Is x a valid 2-tuple of dimensions?
isspmatrix(x)
isspmatrix_dok(x)
upcast(*args) Returns the nearest supported sparse dtype for the combination of one or more types.

Classes

dok_matrix(arg1[, shape, dtype, copy]) Dictionary Of Keys based sparse matrix.
izip izip(iter1 [,iter2 [...]]) –> izip object
spmatrix([maxprint]) This class provides a base class for all sparse matrices.

Previous topic

scipy.sparse.dia

Next topic

scipy.sparse.extract

This Page