小弟程序如下:
********************************************************************************************************
            public static Matrix operator *(Matrix m1, Matrix m2)
            {
                return m1.Multiply(m2);
            }
            public Matrix Multiply(Matrix other)
            {
                if (this.numColumns != other.GetNumRows())
                    throw new Exception("矩阵的行/列数不匹配。");                Matrix result = new Matrix(numRows, other.GetNumColumns());                double value;
                for (int i = 0; i < result.GetNumRows(); ++i)
                {
                    for (int j = 0; j < other.GetNumColumns(); ++j)
                    {
                        value = 0.0;
                        for (int k = 0; k < numColumns; ++k)
                        {
                            value += GetElement(i, k) * other.GetElement(k, j);
                        }                        result.SetElement(i, j, value);
                    }
                }                return result;
            }
*********************************************************************************************************
在主函数里面使用V=A*B.Transpose();报错:("矩阵的行/列数不匹配。");
使用V=A.Multiply(B.Transpose());就可以通过是什么原因呢?