TDistribution extends AbstractRealDistribution { public double getDegreesOfFreedom() { return degreesOfFreedom; } TDistribution(double degreesOfFreedom);  TDistribution(double degreesOfFreedom, double inverseCumAccuracy);  TDistribution(RandomGenerator rng, double degreesOfFreedom);  TDistribution(RandomGenerator rng,
                         double degreesOfFreedom,
                         double inverseCumAccuracy); double getDegreesOfFreedom(); double density(double x); @Override double logDensity(double x); double cumulativeProbability(double x); double getNumericalMean(); double getNumericalVariance(); double getSupportLowerBound(); double getSupportUpperBound(); boolean isSupportLowerBoundInclusive(); boolean isSupportUpperBoundInclusive(); boolean isSupportConnected(); static final double DEFAULT_INVERSE_ABSOLUTE_ACCURACY; }
@Test public void testDfAccessors() { TDistribution dist = (TDistribution) getDistribution(); Assert.assertEquals(5d, dist.getDegreesOfFreedom(), Double.MIN_VALUE); }