SciPy

scipy.sparse.dia_matrix.__len__

dia_matrix.__len__(self)[source]