Example #1
0
        public void LUDecomposition_4x4Matrix_InvertDeterminantCalculated()
        {
            var d = new LU();

            d.Calculate(_m);

            Assert.AreEqual(Math.Round(1 / 347.505, 5), Math.Round(d.InvertDeterminant(), 5));
        }