/** * Create a exponential distribution with the given mean. * @param mean mean of this distribution. * @param inverseCumAccuracy the maximum absolute error in inverse cumulative probability estimates * (defaults to {@link #DEFAULT_INVERSE_ABSOLUTE_ACCURACY}) * @since 2.1 */ public ExponentialDistributionImpl(double mean, double inverseCumAccuracy) { super(); setMeanInternal(mean); solverAbsoluteAccuracy = inverseCumAccuracy; }
/** * Create a exponential distribution with the given mean. * @param mean mean of this distribution. * @param inverseCumAccuracy the maximum absolute error in inverse cumulative probability estimates * (defaults to {@link #DEFAULT_INVERSE_ABSOLUTE_ACCURACY}) * @since 2.1 */ public ExponentialDistributionImpl(double mean, double inverseCumAccuracy) { super(); setMeanInternal(mean); solverAbsoluteAccuracy = inverseCumAccuracy; }
/** * Modify the mean. * @param mean the new mean. * @throws IllegalArgumentException if <code>mean</code> is not positive. * @deprecated as of 2.1 (class will become immutable in 3.0) */ @Deprecated public void setMean(double mean) { setMeanInternal(mean); } /**
/** * Modify the mean. * @param mean the new mean. * @throws IllegalArgumentException if <code>mean</code> is not positive. * @deprecated as of 2.1 (class will become immutable in 3.0) */ @Deprecated public void setMean(double mean) { setMeanInternal(mean); } /**