scipy.sparse.dia_array.

maximum#

dia_array.maximum(other)[source]#

此陣列/矩陣與另一個陣列/矩陣之間逐元素取最大值。