Package | Description |
---|---|
com.google.common.math |
Arithmetic functions operating on primitive values and
BigInteger instances. |
Modifier and Type | Method and Description |
---|---|
static Stats |
Stats.fromByteArray(byte[] byteArray)
Creates a Stats instance from the given byte representation which was obtained by
toByteArray() . |
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(Iterable<? extends Number> values)
Returns statistics over a dataset containing the given values.
|
static Stats |
Stats.of(Iterator<? extends Number> 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.
|
Stats |
StatsAccumulator.snapshot()
Returns an immutable snapshot of the current statistics.
|
Stats |
PairedStatsAccumulator.xStats()
Returns an immutable snapshot of the statistics on the
x values alone. |
Stats |
PairedStats.xStats()
Returns the statistics on the
x values alone. |
Stats |
PairedStatsAccumulator.yStats()
Returns an immutable snapshot of the statistics on the
y values alone. |
Stats |
PairedStats.yStats()
Returns the statistics on the
y values alone. |
Modifier and Type | Method and Description |
---|---|
void |
StatsAccumulator.addAll(Stats values)
Adds the given statistics to the dataset, as if the individual values used to compute the
statistics had been added directly.
|
Copyright © 2010–2019. All rights reserved.