scipy.sparse.dia_matrix.mean
scipy.sparse.dia_matrix.multiply
Element-wise minimum between this and another matrix.