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