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

DotWithTransposeTest() private method

private DotWithTransposeTest ( ) : void
return void
        public void DotWithTransposeTest()
        {
            double[,] a = Matrix.Random(5, 3);
            double[,] b = Matrix.Random(2, 3);
            double[,] actual = new double[5, 2];

            double[,] expected = Matrix.Dot(a, b.Transpose());
            Matrix.DotWithTransposed(a, b, actual);

            Assert.IsTrue(expected.IsEqual(actual));
        }
MatrixTest