ikrvxt’s blog 设普通矩阵乘法的 op1 是乘法,op2 是加法。 因为 op1 对 op2 满足分配律,所以整个矩阵乘法具有结合律。 比如 P6021: 我们把矩阵乘法的 op1 转化为加法,op2 转化为取min。