This is a pre-release version (2.0.0.dev0+git20260907.41eeb59).Go to latest (1.18.0)
{ } Raw JSON

bundles / scipy 2.0.0.dev0+git20260907.41eeb59 / scipy / sparse / _matrix / spmatrix

ABCMeta

scipy.sparse._matrix:spmatrix

source: build-install/usr/lib/python3.14/site-packages/scipy/sparse/_matrix.py:7

Signature

def spmatrix(*args, **kwargs)

Members

Summary

This class provides a base class for all sparse matrix classes.

Extended Summary

This class also serves as the namespace for SciPy sparse matrix types. It cannot be instantiated. Most of the work is provided by subclasses. Use a subclass that overrides at least one of tocoo or tocsr.

Aliases

  • scipy.sparse.spmatrix

Referenced by