scipy.sparse.dia_matrix.

maximum#

dia_matrix.maximum(other)[source]#

此数组/矩阵与另一个数组/矩阵之间的元素级最大值。