Uses of Class
org.apache.commons.statistics.descriptive.FirstMoment
Packages that use FirstMoment
Package
Description
Implementations of univariate statistics.
-
Uses of FirstMoment in org.apache.commons.statistics.descriptive
Subclasses of FirstMoment in org.apache.commons.statistics.descriptiveModifier and TypeClassDescription(package private) classComputes the sum of cubed deviations from the sample mean.(package private) classComputes the sum of fourth deviations from the sample mean.(package private) classComputes the sum of squared deviations from the sample mean.Fields in org.apache.commons.statistics.descriptive declared as FirstMomentModifier and TypeFieldDescriptionprivate final FirstMomentMean.firstMomentFirst moment used to compute the mean.private final FirstMomentDoubleStatistics.momentThe moment implementation.private final FirstMomentIntStatistics.momentThe moment implementation.private final FirstMomentLongStatistics.momentThe moment implementation.Fields in org.apache.commons.statistics.descriptive with type parameters of type FirstMomentModifier and TypeFieldDescriptionprivate RangeBiFunction<org.apache.commons.numbers.core.Sum, double[], FirstMoment> DoubleStatistics.Builder.momentThe moment constructor.private RangeFunction<int[], FirstMoment> IntStatistics.Builder.momentThe moment constructor.private RangeFunction<long[], FirstMoment> LongStatistics.Builder.momentThe moment constructor.Methods in org.apache.commons.statistics.descriptive that return FirstMomentModifier and TypeMethodDescription(package private) FirstMomentFirstMoment.combine(FirstMoment other) Combines the state of anotherFirstMomentinto this one.private static FirstMomentFirstMoment.create(double[] values, int from, int to) Creates the first moment using a rolling algorithm.(package private) static FirstMomentFirstMoment.createFromRange(org.apache.commons.numbers.core.Sum sum, double[] values, int from, int to) Creates the first moment.(package private) static FirstMomentFirstMoment.of(double... values) Returns an instance populated using the inputvalues.(package private) static FirstMomentFirstMoment.ofRange(double[] values, int from, int to) Returns an instance populated using the specified range ofvalues.Methods in org.apache.commons.statistics.descriptive with parameters of type FirstMomentModifier and TypeMethodDescription(package private) static voidStatistics.checkCombineAssignable(FirstMoment a, FirstMoment b) Check left-hand side argumentaisnullor else the right-hand side argumentbmust be run-time assignable to the same class asaso the statistics can be combined.(package private) FirstMomentFirstMoment.combine(FirstMoment other) Combines the state of anotherFirstMomentinto this one.(package private) static voidStatistics.combineMoment(FirstMoment a, FirstMoment b) If the left-hand side argumentais non-null, combine it with the right-hand side argumentb.private static SumOfSquaredDeviationsSumOfSquaredDeviations.create(FirstMoment m1, double[] values, int from, int to) Creates the sum of squared deviations.(package private) doubleFirstMoment.getFirstMomentDifference(FirstMoment other) Gets the difference of the first moment betweenthismoment and theothermoment.(package private) doubleFirstMoment.getFirstMomentHalfDifference(FirstMoment other) Gets the half the difference of the first moment betweenthismoment and theothermoment.Constructors in org.apache.commons.statistics.descriptive with parameters of type FirstMomentModifierConstructorDescription(package private)DoubleStatistics(long count, Min min, Max max, FirstMoment moment, Sum sum, Product product, SumOfSquares sumOfSquares, SumOfLogs sumOfLogs, StatisticsConfiguration config) Create an instance.(package private)FirstMoment(FirstMoment source) Copy constructor.(package private)IntStatistics(long count, IntMin min, IntMax max, FirstMoment moment, IntSum sum, Product product, IntSumOfSquares sumOfSquares, SumOfLogs sumOfLogs, StatisticsConfiguration config) Create an instance.(package private)LongStatistics(long count, LongMin min, LongMax max, FirstMoment moment, LongSum sum, Product product, LongSumOfSquares sumOfSquares, SumOfLogs sumOfLogs, StatisticsConfiguration config) Create an instance.(package private)Mean(FirstMoment m1) Creates an instance with a moment.privateSumOfSquaredDeviations(double sumSquaredDev, FirstMoment m1) Create an instance with the given sum of squared deviations and first moment.