scipy.sparse.dia_matrix.

maximum#

dia_matrix.maximum(other)[source]#

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