Uses of Class
com.google.common.math.Stats
Packages that use Stats
Package
Description
Arithmetic functions operating on primitive values and on
BigInteger
and BigDecimal
instances.-
Uses of Stats in com.google.common.math
Fields in com.google.common.math declared as StatsModifier and TypeFieldDescriptionprivate final Stats
PairedStats.xStats
private final Stats
PairedStats.yStats
Methods in com.google.common.math that return StatsModifier and TypeMethodDescriptionstatic Stats
Stats.fromByteArray
(byte[] byteArray) Creates a Stats instance from the given byte representation which was obtained bytoByteArray()
.static Stats
Stats.of
(double... values) Returns statistics over a dataset containing the given values.static Stats
Stats.of
(int... values) Returns statistics over a dataset containing the given values.static Stats
Stats.of
(long... values) Returns statistics over a dataset containing the given values.static Stats
Returns statistics over a dataset containing the given values.static Stats
Returns statistics over a dataset containing the given values.static Stats
Stats.of
(DoubleStream values) Returns statistics over a dataset containing the given values.static Stats
Returns statistics over a dataset containing the given values.static Stats
Stats.of
(LongStream values) Returns statistics over a dataset containing the given values.(package private) static Stats
Stats.readFrom
(ByteBuffer buffer) Creates a Stats instance from the byte representation read from the givenByteBuffer
.StatsAccumulator.snapshot()
Returns an immutable snapshot of the current statistics.PairedStats.xStats()
Returns the statistics on thex
values alone.PairedStatsAccumulator.xStats()
Returns an immutable snapshot of the statistics on thex
values alone.PairedStats.yStats()
Returns the statistics on they
values alone.PairedStatsAccumulator.yStats()
Returns an immutable snapshot of the statistics on they
values alone.Methods in com.google.common.math that return types with arguments of type StatsModifier and TypeMethodDescriptionstatic Collector
<Number, StatsAccumulator, Stats> Stats.toStats()
Methods in com.google.common.math with parameters of type StatsModifier and TypeMethodDescriptionvoid
Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.Constructors in com.google.common.math with parameters of type StatsModifierConstructorDescription(package private)
PairedStats
(Stats xStats, Stats yStats, double sumOfProductsOfDeltas) Internal constructor.