Linear AlgebraTypesRealSparseMatrixMethodsis_sparseOn this pageis_sparse Method of RealSparseMatrix. is_sparse() -> bool Whether the container is sparse.