Accord.Tests.Math.MatrixTest.PowerTest C# (CSharp) Method

PowerTest() private method

private PowerTest ( ) : void
return void
        public void PowerTest()
        {
            double[,] a = Matrix.Magic(5);
            double[,] expected = Matrix.Identity(5);
            double[,] actual = Matrix.Power(a, 0);
            Assert.IsTrue(Matrix.IsEqual(expected, actual));
        }
MatrixTest