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

ElementwiseMultiplyTest() 개인적인 메소드

private ElementwiseMultiplyTest ( ) : void
리턴 void
        public void ElementwiseMultiplyTest()
        {
            double[] a = { 5, 2, 1 };
            double[] b = { 5, 1, 2 };
            double[] expected = { 25, 2, 2 };
            double[] actual = Matrix.ElementwiseMultiply(a, b);
            Assert.IsTrue(Matrix.IsEqual(expected, actual));
        }
MatrixTest