Sparse Matrices#

COO(rows, cols, data[, shape, dtype, symmetry])

A sparse matrix in coordinate format.

CSR(rowptr, cols, data[, shape, dtype, symmetry])

A sparse matrix in Compressed Sparse Row format.

DIA(offsets, data[, shape, dtype, symmetry])

A sparse matrix in DIAgonal format.