/** * {@inheritDoc} * * For mean parameter {@code p}, the variance is {@code p}. */ public double getNumericalVariance() { return getMean(); }
/** * {@inheritDoc} * * For mean parameter {@code p}, the mean is {@code p}. */ public double getNumericalMean() { return getMean(); }
/** * {@inheritDoc} * * For mean parameter {@code p}, the variance is {@code p}. */ public double getNumericalVariance() { return getMean(); }
/** * {@inheritDoc} * * For mean parameter {@code p}, the mean is {@code p}. */ public double getNumericalMean() { return getMean(); }
/** * {@inheritDoc} * * For mean parameter {@code p}, the mean is {@code p}. */ public double getNumericalMean() { return getMean(); }
/** * {@inheritDoc} * * For mean parameter {@code p}, the variance is {@code p}. */ public double getNumericalVariance() { return getMean(); }
/** * @param param * mean * @return Poisson distribution */ protected PoissonDistribution getPoissonDistribution(double param) { if (poisson == null || poisson.getMean() != param) { poisson = new PoissonDistribution(param); } return poisson; }
} else if (c == PoissonDistribution.class) { PoissonDistribution pd = (PoissonDistribution) d; j.writeNumberField("p", pd.getMean()); } else if (c == UniformIntegerDistribution.class) { UniformIntegerDistribution ud = (UniformIntegerDistribution) d;
} else if (c == PoissonDistribution.class) { PoissonDistribution pd = (PoissonDistribution) d; j.writeNumberField("p", pd.getMean()); } else if (c == UniformIntegerDistribution.class) { UniformIntegerDistribution ud = (UniformIntegerDistribution) d;