Accord.Tests.Math.LuDecompositionTest.JaggedDeterminantTest C# (CSharp) 메소드

JaggedDeterminantTest() 개인적인 메소드

private JaggedDeterminantTest ( ) : void
리턴 void
        public void JaggedDeterminantTest()
        {
            double[,] value =
            {
               {  2,  3,  0 },
               { -1,  2,  1 },
               {  0, -1,  3 }
            };

            var lu = new JaggedLuDecomposition(value.ToJagged());
            Assert.AreEqual(23, lu.Determinant);
            Assert.IsTrue(lu.Nonsingular);
        }