Ejemplo n.º 1
0
        public void Negation()
        {
            Matrix22D m = new Matrix22D(columnMajor, MatrixOrder.ColumnMajor);

            for (int i = 0; i < 4; i++)
            {
                Assert.AreEqual(-rowMajor[i], Matrix22D.Negate(m)[i]);
            }
        }