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

MultiplyVectorMatrixTest() private method

private MultiplyVectorMatrixTest ( ) : void
return void
        public void MultiplyVectorMatrixTest()
        {
            double[] a = { 1.000, 2.000, 3.000 };
            double[,] b = 
            { 
                { 2.000, 1.000, 5.000, 2.000 },
                { 2.000, 1.000, 2.000, 2.000 },
                { 1.000, 1.000, 1.000, 1.000 },
             };
            double[] expected = { 9.000, 6.000, 12.000, 9.000 };

            double[] actual = Matrix.Multiply(a, b);
            Assert.IsTrue(actual.IsEqual(expected));

        }
MatrixTest