/** * Modify the underlying gamma distribution. The caller is responsible for * insuring the gamma distribution has the proper parameter settings. * @param g the new distribution. * @since 1.2 made public * @deprecated as of 2.1 (class will become immutable in 3.0) */ @Deprecated public void setGamma(GammaDistribution g) { setGammaInternal(g); } /**
/** * Modify the underlying gamma distribution. The caller is responsible for * insuring the gamma distribution has the proper parameter settings. * @param g the new distribution. * @since 1.2 made public * @deprecated as of 2.1 (class will become immutable in 3.0) */ @Deprecated public void setGamma(GammaDistribution g) { setGammaInternal(g); } /**
/** * 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 * @deprecated as of 2.1 (to avoid possibly inconsistent state, the * "GammaDistribution" will be instantiated internally) */ @Deprecated public ChiSquaredDistributionImpl(double df, GammaDistribution g) { super(); setGammaInternal(g); setDegreesOfFreedomInternal(df); solverAbsoluteAccuracy = DEFAULT_INVERSE_ABSOLUTE_ACCURACY; }
/** * 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 * @deprecated as of 2.1 (to avoid possibly inconsistent state, the * "GammaDistribution" will be instantiated internally) */ @Deprecated public ChiSquaredDistributionImpl(double df, GammaDistribution g) { super(); setGammaInternal(g); setDegreesOfFreedomInternal(df); solverAbsoluteAccuracy = DEFAULT_INVERSE_ABSOLUTE_ACCURACY; }