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.data

Base class for sparse matrice with a .data attribute

subclasses must provide a _with_data() method that creates a new matrix with the same sparsity pattern as self but with a different data array

Functions

isscalarlike(x) Is x either a scalar, an array scalar, or a 0-dim array?

Classes

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

Previous topic

scipy.sparse.csr

Next topic

scipy.sparse.dia

This Page