List of usage examples for org.apache.commons.math3.stat.descriptive StorelessUnivariateStatistic clear
void clear();
From source file:gedi.util.datastructure.array.functions.StorelessUnivariateStatisticAdapter.java
public StorelessUnivariateStatisticAdapter(StorelessUnivariateStatistic commons) { this.commons = commons.copy(); commons.clear(); }
From source file:org.apache.edgent.analytics.math3.stat.Statistic.java
private Statistic(StorelessUnivariateStatistic statImpl) { this.statImpl = statImpl; statImpl.clear(); }
From source file:org.apache.edgent.analytics.math3.stat.Statistic2.java
private Statistic2(StorelessUnivariateStatistic statImpl) { this.statImpl = statImpl; statImpl.clear(); }
From source file:org.drugis.mtc.summary.SummaryUtil.java
public static double evaluate(StorelessUnivariateStatistic stat, List<Double> vals) { stat.clear(); for (Double d : vals) { stat.increment(d);/*from ww w . ja v a2s .c o m*/ } return stat.getResult(); }