public void ElementwiseMultiplyTest1()
{
double[,] a =
{
{ 1, 2, 3 },
{ 4, 5, 6 },
};
double[,] b =
{
{ 2, 1, 0.5 },
{ 2, 5, 3.0 },
};
double[,] expected =
{
{ 2, 2, 1.5 },
{ 8, 25, 18 },
};
double[,] actual = Elementwise.Multiply(a, b);
Assert.IsTrue(Matrix.IsEqual(expected, actual));
}