4.0 }, xRV, yRV);
ProbabilityTable zD = new ProbabilityTable(new double[] { 3.0, 7.0 },
zRV);
// Make commutative by specifying an order for the product
Assert.assertArrayEquals(xyD.pointwiseProduct(zD).getValues(), zD
.pointwiseProductPOS(xyD, xRV, yRV, zRV).getValues(),
DELTA_THRESHOLD);
}
@Test