Accord.Tests.Math.MatrixTest.ElementwiseMultiplyTest5 C# (CSharp) 메소드

ElementwiseMultiplyTest5() 개인적인 메소드

private ElementwiseMultiplyTest5 ( ) : void
리턴 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