bsparse.sparse.CSR.diagonal#

sparse.CSR.diagonal(offset=0)#

Returns the diagonal of the matrix.