// Not commutative
Assert.assertArrayEquals(new double[] { 3.0, 7.0, 6.0, 14.0, 9.0, 21.0,
12.0, 28.0 }, xyD.pointwiseProduct(zD).getValues(),
DELTA_THRESHOLD);
Assert.assertArrayEquals(new double[] { 3.0, 6.0, 9.0, 12.0, 7.0, 14.0,
21.0, 28.0 }, zD.pointwiseProduct(xyD).getValues(),
DELTA_THRESHOLD);
}
@Test
public void test_pointwiseProductPOS() {