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