Back to Linear Algebra (Eigen)
eigen.sparse.isEmpty
Check if a sparse matrix is empty (has no non-zeros).
Syntax
eigen.sparse.isEmpty(S)
Description
Check if a sparse matrix is empty (has no non-zeros).
Parameters
| Name | Description |
|---|---|
| S | - Sparse matrix handle |
Returns
boolean