scipy.sparse.cooΒΆ

A sparse matrix in COOrdinate or ‘triplet’ format

Functions

coo_matvec(int nnz, int Ai, int Aj, ...)
coo_tocsr(int n_row, int n_col, int nnz, ...)
coo_todense(int n_row, int n_col, int nnz, ...)
getdtype(dtype[, a, default]) Function used to simplify argument processing.
isintlike(x) Is x appropriate as an index into a sparse matrix? Returns True
isshape(x) Is x a valid 2-tuple of dimensions?
isspmatrix(x)
isspmatrix_coo(x)
to_native(A)
upcast(*args) Returns the nearest supported sparse dtype for the combination of one or more types.
warn Issue a warning, or maybe ignore it or raise an exception.

Classes

coo_matrix(arg1[, shape, dtype, copy]) A sparse matrix in COOrdinate format.

Previous topic

scipy.sparse.construct

Next topic

scipy.sparse.csc

This Page