Package org.hipparchus.stat.descriptive
Interface AggregatableStatistic<T>
 Type Parameters:
T
 the type of statistic
 All Known Implementing Classes:
GeometricMean
,Max
,Mean
,Min
,Product
,RandomPercentile
,SecondMoment
,StreamingStatistics
,Sum
,SumOfLogs
,SumOfSquares
,Variance
public interface AggregatableStatistic<T>
An interface for statistics that can aggregate results.

Method Summary
Modifier and TypeMethodDescriptiondefault void
Aggregates the results from the provided instances into this instance.void
Aggregates the provided instance into this instance.default void
Aggregates the results from the provided instances into this instance.

Method Details

aggregate
Aggregates the provided instance into this instance.This method can be used to combine statistics computed over partitions or subsamples  i.e., the value of this instance after this operation should be the same as if a single statistic would have been applied over the combined dataset.
 Parameters:
other
 the instance to aggregate into this instance Throws:
NullArgumentException
 if the input is null

aggregate
Aggregates the results from the provided instances into this instance.This method can be used to combine statistics computed over partitions or subsamples  i.e., the value of this instance after this operation should be the same as if a single statistic would have been applied over the combined dataset.
 Parameters:
others
 the other instances to aggregate into this instance Throws:
NullArgumentException
 if either others or any instance is null

aggregate
Aggregates the results from the provided instances into this instance.This method can be used to combine statistics computed over partitions or subsamples  i.e., the value of this instance after this operation should be the same as if a single statistic would have been applied over the combined dataset.
 Parameters:
others
 the other instances to aggregate into this instance Throws:
NullArgumentException
 if either others or any instance is null
