fips.linalg.SparseOperator.diagonal#

SparseOperator.diagonal()[source]#

Return the main diagonal, read from the stored entries.

Return type:

ndarray