@Test public void poisson() { validate(Distributions.poisson(10)); }
public static Distribution poisson(final double average) { checkArgument(average >= 0.0, "average must be >= 0.0 [%s]", average); final String s = String.format("PoissonDistribution [average=%s]", average); return new IntegerDistributionAdapter(new PoissonDistribution(average), s); }
Distributions { public static Distribution poisson(final double average) { checkArgument(average >= 0.0, "average must be >= 0.0 [%s]", average); final String s = String.format("PoissonDistribution [average=%s]", average); return new IntegerDistributionAdapter(new PoissonDistribution(average), s); } }
Distributions { public static Distribution poisson(final double average) { checkArgument(average >= 0.0, "average must be >= 0.0 [%s]", average); final String s = String.format("PoissonDistribution [average=%s]", average); return new IntegerDistributionAdapter(new PoissonDistribution(average), s); } private  Distributions(); }
Distributions { public static Distribution poisson(final double average) { checkArgument(average >= 0.0, "average must be >= 0.0 [%s]", average); final String s = String.format("PoissonDistribution [average=%s]", average); return new IntegerDistributionAdapter(new PoissonDistribution(average), s); } private  Distributions(); static Distribution uniform(final double average, final double spread); static Distribution normal(final double average, final double spread); static Distribution lognormal(final double average, final double spread); static Distribution poisson(final double average); }
Distributions { public static Distribution poisson(final double average) { checkArgument(average >= 0.0, "average must be >= 0.0 [%s]", average); final String s = String.format("PoissonDistribution [average=%s]", average); return new IntegerDistributionAdapter(new PoissonDistribution(average), s); } private  Distributions(); static Distribution uniform(final double average, final double spread); static Distribution normal(final double average, final double spread); static Distribution lognormal(final double average, final double spread); static Distribution poisson(final double average);  }