imate.Matrix.is_sparse#

Matrix.is_sparse()#

Determines whether the matrix is dense or sparse.

Returns:
sparsebool

If True, the matrix is sparse. Otherwise, the matrix is dense.