scipy.sparse.dia_matrix.getnnz ============================== .. currentmodule:: scipy.sparse .. automethod:: dia_matrix.getnnz