API Reference#

Submodules#

linalg

Sparse linear algebra (legate_sparse.linalg)

Sparse array classes#

csr_array(arg[, shape, dtype, copy])

Compressed Sparse Row array.

dia_array(arg[, shape, dtype, copy])

Sparse matrix with DIAgonal storage.

Sparse array functions#

Identifying sparse arrays#

issparse(obj)

Check if an object is a legate sparse matrix.

Sparse matrix classes#

Identifying sparse matrices#

issparse(obj)

Check if an object is a legate sparse matrix.

isspmatrix(obj)

Check if an object is a legate sparse matrix.

isspmatrix_csr(obj)

Check if an object is a CSR sparse matrix.

Input/Output#

mmread(source)

Read a sparse matrix from a Matrix Market (.mtx) file.