Skip to content

Latest commit

 

History

History
51 lines (36 loc) · 986 Bytes

sparse.rst

File metadata and controls

51 lines (36 loc) · 986 Bytes

Sparse matrix

CuPy supports sparse matrices using cuSPARSE. These matrices have the same interfaces of SciPy's sparse matrices.

cupy.sparse

Sparse matrix classes

cupy.sparse.coo_matrix cupy.sparse.csr_matrix cupy.sparse.csc_matrix cupy.sparse.dia_matrix cupy.sparse.spmatrix

Functions

Building sparse matrices

cupy.sparse.eye cupy.sparse.identity

Identifying sparse matrices

cupy.sparse.issparse cupy.sparse.isspmatrix cupy.sparse.isspmatrix_csc cupy.sparse.isspmatrix_csr cupy.sparse.isspmatrix_coo cupy.sparse.isspmatrix_dia