A sparse matrix in COOrdinate or ‘triplet’ format
Functions
coo_matvec(nnz, Ai, Aj, Ax, Xx, nnz, Ai, Aj, ...) | |
coo_tocsr(n_row, n_col, nnz, Ai, Aj, Ax, Bp, ...) | |
coo_todense(n_row, n_col, nnz, Ai, Aj, Ax, ...) | |
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(message[, category, stacklevel]) | Issue a warning, or maybe ignore it or raise an exception. |
Classes
coo_matrix(arg1[, shape, dtype, copy]) | A sparse matrix in COOrdinate format. |