Uses of Class
org.apache.commons.statistics.descriptive.FirstMoment
-
Packages that use FirstMoment Package Description org.apache.commons.statistics.descriptive Implementations of univariate statistics. -
-
Uses of FirstMoment in org.apache.commons.statistics.descriptive
Subclasses of FirstMoment in org.apache.commons.statistics.descriptive Modifier and Type Class Description (package private) classSumOfCubedDeviationsComputes the sum of cubed deviations from the sample mean.(package private) classSumOfFourthDeviationsComputes the sum of fourth deviations from the sample mean.(package private) classSumOfSquaredDeviationsComputes the sum of squared deviations from the sample mean.Fields in org.apache.commons.statistics.descriptive declared as FirstMoment Modifier and Type Field Description private FirstMomentMean. firstMomentFirst moment used to compute the mean.private FirstMomentDoubleStatistics. momentThe moment implementation.private FirstMomentIntStatistics. momentThe moment implementation.private FirstMomentLongStatistics. momentThe moment implementation.Fields in org.apache.commons.statistics.descriptive with type parameters of type FirstMoment Modifier and Type Field Description private java.util.function.BiFunction<org.apache.commons.numbers.core.Sum,double[],FirstMoment>DoubleStatistics.Builder. momentThe moment constructor.private java.util.function.Function<int[],FirstMoment>IntStatistics.Builder. momentThe moment constructor.private java.util.function.Function<long[],FirstMoment>LongStatistics.Builder. momentThe moment constructor.Methods in org.apache.commons.statistics.descriptive that return FirstMoment Modifier and Type Method Description (package private) FirstMomentFirstMoment. combine(FirstMoment other)Combines the state of anotherFirstMomentinto this one.private static FirstMomentFirstMoment. create(double[] values)Creates the first moment using a rolling algorithm.(package private) static FirstMomentFirstMoment. create(org.apache.commons.numbers.core.Sum sum, double[] values)Creates the first moment.(package private) static FirstMomentFirstMoment. of(double... values)Returns an instance populated using the inputvalues.Methods in org.apache.commons.statistics.descriptive with parameters of type FirstMoment Modifier and Type Method Description (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)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 FirstMoment Constructor Description DoubleStatistics(long count, Min min, Max max, FirstMoment moment, Sum sum, Product product, SumOfSquares sumOfSquares, SumOfLogs sumOfLogs, StatisticsConfiguration config)Create an instance.FirstMoment(FirstMoment source)Copy constructor.IntStatistics(long count, IntMin min, IntMax max, FirstMoment moment, IntSum sum, Product product, IntSumOfSquares sumOfSquares, SumOfLogs sumOfLogs, StatisticsConfiguration config)Create an instance.LongStatistics(long count, LongMin min, LongMax max, FirstMoment moment, LongSum sum, Product product, LongSumOfSquares sumOfSquares, SumOfLogs sumOfLogs, StatisticsConfiguration config)Create an instance.Mean(FirstMoment m1)Creates an instance with a moment.SumOfSquaredDeviations(double sumSquaredDev, FirstMoment m1)Create an instance with the given sum of squared deviations and first moment.
-