MeanIRT now extends ABstractFeature. Also fixed compute() implementation, now returns single double instead of array.
Use enhanced for-loop instead of iterator, also check for division by zero.
SumOfSquares is now a Feature instead of an AbstractFunction.
SumOfLogs is now a Feature instead of a Function. Changed to compute(input, output) of SumOfSquaresIRT to compute() and added @Parameter member variable
SumOfInverses is now a Feature instead of a Function. Changed to compute(input, output) of SumOfInversesIRT to compute() and added @Parameter member variable
Use multiplication instead of Math.pow(?,2)
Variance is now a Feature instead of a Function. Changed the compute(input, output) of VarianceIRT to compute() and added @Parameter member variable. Changed the compute(input, output) of VarianceGeneric to compute()
Moment1AboutMean is now a Feature instead of a Function. Changed the compute(input, output) of Moment1AboutMeanGeneric to compute() and added @Parameter member variable.
formatting
removed unused import
MomentsAboutMean are now Features instead of Functions. Changed the compute(input, output) method in each of the MomentsAboutMeanGeneric classes to compute() and added @Parameter member variable
Variance now uses the unparameterized Moment2AboutMean
StdDev is now a Feature instead of a Function. Changed the compute(input, output) of StdDevGeneric to compute(). Also changed the compute(input, output) of StdDevIRT to compute() and added a @Parameter member variable for the iterator
Skewness is now a Feature instead of a Function. Changed the compute(input, output) of SkewnessGeneric to compute().
Percentile is now a Feature instead of a Function. AbstractPercentile is now unparameterized and extends AbstractFeature instead of AbstractFunction.
Median now extends the unparameterized Percentile. Changed the compute(input, output) of MedianIRT to compute() and added @Parameter member variable for the iterator
Min is now a Feature instead of a Function. Added Iterable as @Paramter in MinIRT and changed the compute(input, output) to compute(). The compute() method now uses an enhanced for-loop instead of an iterator. Also it returns Double.POSITIVE_INFINITY if the given iterable interval is empty.
Max is now a Feature instead of a Function. Added Iterable as @Paramter in MaxIRT and changed the compute(input, output) to compute(). The compute() method now uses an enhanced for-loop instead of an iterator. Also it returns Double.NEGATIVE_INFINITY if the given iterable interval is empty.
Kurtosis is now a Feature instead of a Function. KurtosisGeneric now uses the unparameterized StdDev and Moment4AboutMean and the compute(input, output) was changed to compute().
removed unused import.