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

Utility functions for sparse matrix module

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?
issequence(t)
isshape(x) Is x a valid 2-tuple of dimensions?
to_native(A)
upcast(*args) Returns the nearest supported sparse dtype for the combination of one or more types.

Previous topic

scipy.sparse.spfuncs

Next topic

scipy.sparse.SparseEfficiencyWarning

This Page