CauchyDistribution extends AbstractRealDistribution { public double getScale() { return scale; } CauchyDistribution();  CauchyDistribution(double median, double scale);  CauchyDistribution(double median, double scale,
                              double inverseCumAccuracy);  CauchyDistribution(RandomGenerator rng, double median, double scale);  CauchyDistribution(RandomGenerator rng,
                              double median,
                              double scale,
                              double inverseCumAccuracy); double cumulativeProbability(double x); double getMedian(); double getScale(); double density(double x); @Override double inverseCumulativeProbability(double p); double getNumericalMean(); double getNumericalVariance(); double getSupportLowerBound(); double getSupportUpperBound(); boolean isSupportLowerBoundInclusive(); boolean isSupportUpperBoundInclusive(); boolean isSupportConnected(); static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY; }
@Test public void testScale() { CauchyDistribution distribution = (CauchyDistribution) getDistribution(); Assert.assertEquals(2.1, distribution.getScale(), 0.0); }