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