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

ElementwiseMultiplyTest5() private method

private ElementwiseMultiplyTest5 ( ) : void
return void
        public void ElementwiseMultiplyTest5()
        {
            int[] a = { 2, 1, 6, 1 };
            int[] b = { 5, 1, 2, 0 };

            int[] expected = { 10, 1, 12, 0 };
            int[] actual = Matrix.ElementwiseMultiply(a, b);

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