/** * <p> * Sets the implementation for the minimum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param minImpl the StorelessUnivariateStatistic instance to use for * computing the minimum * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMinImpl(StorelessUnivariateStatistic minImpl) throws MathIllegalStateException { checkEmpty(); this.minImpl = minImpl; }
/** * <p> * Sets the implementation for the geometric mean. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param geoMeanImpl the StorelessUnivariateStatistic instance to use for * computing the geometric mean * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setGeoMeanImpl(StorelessUnivariateStatistic geoMeanImpl) throws MathIllegalStateException { checkEmpty(); this.geoMeanImpl = geoMeanImpl; }
/** * <p> * Sets the implementation for the Sum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param sumImpl the StorelessUnivariateStatistic instance to use for * computing the Sum * @throws MathIllegalStateException if data has already been added (i.e if n >0) * @since 1.2 */ public void setSumImpl(StorelessUnivariateStatistic sumImpl) throws MathIllegalStateException { checkEmpty(); this.sumImpl = sumImpl; }
/** * <p> * Sets the implementation for the sum of squares. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param sumsqImpl the StorelessUnivariateStatistic instance to use for * computing the sum of squares * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setSumsqImpl(StorelessUnivariateStatistic sumsqImpl) throws MathIllegalStateException { checkEmpty(); this.sumsqImpl = sumsqImpl; }
/** * <p> * Sets the implementation for the maximum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param maxImpl the StorelessUnivariateStatistic instance to use for * computing the maximum * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMaxImpl(StorelessUnivariateStatistic maxImpl) throws MathIllegalStateException { checkEmpty(); this.maxImpl = maxImpl; }
/** * <p> * Sets the implementation for the mean. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param meanImpl the StorelessUnivariateStatistic instance to use for * computing the mean * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMeanImpl(StorelessUnivariateStatistic meanImpl) throws MathIllegalStateException { checkEmpty(); this.meanImpl = meanImpl; }
/** * <p> * Sets the implementation for the variance. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param varianceImpl the StorelessUnivariateStatistic instance to use for * computing the variance * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setVarianceImpl(StorelessUnivariateStatistic varianceImpl) throws MathIllegalStateException { checkEmpty(); this.varianceImpl = varianceImpl; }
/** * <p> * Sets the implementation for the sum of logs. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param sumLogImpl the StorelessUnivariateStatistic instance to use for * computing the log sum * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setSumLogImpl(StorelessUnivariateStatistic sumLogImpl) throws MathIllegalStateException { checkEmpty(); this.sumLogImpl = sumLogImpl; geoMean.setSumLogImpl(sumLogImpl); }
/** * <p> * Sets the implementation for the sum of squares. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param sumsqImpl the StorelessUnivariateStatistic instance to use for * computing the sum of squares * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setSumsqImpl(StorelessUnivariateStatistic sumsqImpl) throws MathIllegalStateException { checkEmpty(); this.sumsqImpl = sumsqImpl; }
/** * <p> * Sets the implementation for the variance. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param varianceImpl the StorelessUnivariateStatistic instance to use for * computing the variance * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setVarianceImpl(StorelessUnivariateStatistic varianceImpl) throws MathIllegalStateException { checkEmpty(); this.varianceImpl = varianceImpl; }
/** * <p> * Sets the implementation for the minimum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param minImpl the StorelessUnivariateStatistic instance to use for * computing the minimum * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMinImpl(StorelessUnivariateStatistic minImpl) throws MathIllegalStateException { checkEmpty(); this.minImpl = minImpl; }
/** * <p> * Sets the implementation for the maximum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param maxImpl the StorelessUnivariateStatistic instance to use for * computing the maximum * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMaxImpl(StorelessUnivariateStatistic maxImpl) throws MathIllegalStateException { checkEmpty(); this.maxImpl = maxImpl; }
/** * <p> * Sets the implementation for the sum of squares. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param sumsqImpl the StorelessUnivariateStatistic instance to use for * computing the sum of squares * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setSumsqImpl(StorelessUnivariateStatistic sumsqImpl) throws MathIllegalStateException { checkEmpty(); this.sumsqImpl = sumsqImpl; }
/** * <p> * Sets the implementation for the geometric mean. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param geoMeanImpl the StorelessUnivariateStatistic instance to use for * computing the geometric mean * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setGeoMeanImpl(StorelessUnivariateStatistic geoMeanImpl) throws MathIllegalStateException { checkEmpty(); this.geoMeanImpl = geoMeanImpl; }
/** * <p> * Sets the implementation for the Sum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param sumImpl the StorelessUnivariateStatistic instance to use for * computing the Sum * @throws MathIllegalStateException if data has already been added (i.e if n >0) * @since 1.2 */ public void setSumImpl(StorelessUnivariateStatistic sumImpl) throws MathIllegalStateException { checkEmpty(); this.sumImpl = sumImpl; }
/** * <p> * Sets the implementation for the mean. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param meanImpl the StorelessUnivariateStatistic instance to use for * computing the mean * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMeanImpl(StorelessUnivariateStatistic meanImpl) throws MathIllegalStateException { checkEmpty(); this.meanImpl = meanImpl; }
/** * <p> * Sets the implementation for the maximum. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param maxImpl the StorelessUnivariateStatistic instance to use for * computing the maximum * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMaxImpl(StorelessUnivariateStatistic maxImpl) throws MathIllegalStateException { checkEmpty(); this.maxImpl = maxImpl; }
/** * <p> * Sets the implementation for the geometric mean. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param geoMeanImpl the StorelessUnivariateStatistic instance to use for * computing the geometric mean * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setGeoMeanImpl(StorelessUnivariateStatistic geoMeanImpl) throws MathIllegalStateException { checkEmpty(); this.geoMeanImpl = geoMeanImpl; }
/** * <p> * Sets the implementation for the mean. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param meanImpl the StorelessUnivariateStatistic instance to use for * computing the mean * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setMeanImpl(StorelessUnivariateStatistic meanImpl) throws MathIllegalStateException { checkEmpty(); this.meanImpl = meanImpl; }
/** * <p> * Sets the implementation for the variance. * </p> * <p> * This method cannot be activated after data has been added - i.e., * after {@link #addValue(double) addValue} has been used to add data. * If it is activated after data has been added, an IllegalStateException * will be thrown. * </p> * @param varianceImpl the StorelessUnivariateStatistic instance to use for * computing the variance * @throws MathIllegalStateException if data has already been added (i.e if n > 0) * @since 1.2 */ public void setVarianceImpl(StorelessUnivariateStatistic varianceImpl) throws MathIllegalStateException { checkEmpty(); this.varianceImpl = varianceImpl; }