/** * Create a Chi-Squared distribution with the given degrees of freedom. * @param df degrees of freedom. * @param g the underlying gamma distribution used to compute probabilities. * @since 1.2 */ public ChiSquaredDistributionImpl(double df, GammaDistribution g) { super(); setGamma(g); setDegreesOfFreedom(df); }