scipy.sparse.compressedΒΆ

Base class for sparse matrix formats using compressed storage

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)
to_native(A)
upcast(*args) Returns the nearest supported sparse dtype for the combination of one or more types.
warn(message[, category, stacklevel]) Issue a warning, or maybe ignore it or raise an exception.

Classes

spmatrix([maxprint]) This class provides a base class for all sparse matrices.

Exceptions

SparseEfficiencyWarning

Previous topic

scipy.sparse.bsr

Next topic

scipy.sparse.construct

This Page