List of usage examples for org.apache.mahout.math.jet.random AbstractContinousDistribution pdf
public double pdf(double x)
From source file:com.mapr.stats.DistributionTest.java
License:Apache License
protected void pdfCheck(double[] xValues, double[] expected, AbstractContinousDistribution d) { int i = 0;// w ww.jav a2 s.c om for (double x : xValues) { assertEquals(expected[i], d.pdf(x), 1e-15); i++; } }