Index
All Classes and Interfaces|All Packages|Serialized Form
A
- add(double) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given value to the dataset.
- add(double, double) - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Adds the given pair of values to the dataset.
- addAll(double...) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(int...) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(long...) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(PairedStats) - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.
- addAll(Stats) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.
- addAll(StatsAccumulator) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given statistics to the dataset, as if the individual values used to compute the statistics had been added directly.
- addAll(Iterable<? extends Number>) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(Iterator<? extends Number>) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(DoubleStream) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(IntStream) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- addAll(LongStream) - Method in class dev.mccue.guava.math.StatsAccumulator
-
Adds the given values to the dataset.
- and(double, double) - Method in class dev.mccue.guava.math.LinearTransformation.LinearTransformationBuilder
-
Finish building an instance which also maps
x = x2toy = y2.
B
- BigDecimalMath - Class in dev.mccue.guava.math
-
A class for arithmetic on
BigDecimalthat is not covered by its built-in methods. - BigIntegerMath - Class in dev.mccue.guava.math
-
A class for arithmetic on values of type
BigInteger. - binomial(int, int) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns
nchoosek, also known as the binomial coefficient ofnandk, that is,n! / (k! (n - k)!). - binomial(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns
nchoosek, also known as the binomial coefficient ofnandk, orInteger.MAX_VALUEif the result does not fit in anint. - binomial(int, int) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
nchoosek, also known as the binomial coefficient ofnandk, orLong.MAX_VALUEif the result does not fit in along.
C
- ceilingPowerOfTwo(int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the smallest power of two greater than or equal to
x. - ceilingPowerOfTwo(long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the smallest power of two greater than or equal to
x. - ceilingPowerOfTwo(BigInteger) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns the smallest power of two greater than or equal to
x. - checkedAdd(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the sum of
aandb, provided it does not overflow. - checkedAdd(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the sum of
aandb, provided it does not overflow. - checkedMultiply(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the product of
aandb, provided it does not overflow. - checkedMultiply(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the product of
aandb, provided it does not overflow. - checkedPow(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the
bto thekth power, provided it does not overflow. - checkedPow(long, int) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the
bto thekth power, provided it does not overflow. - checkedSubtract(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the difference of
aandb, provided it does not overflow. - checkedSubtract(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the difference of
aandb, provided it does not overflow. - compute(double...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(double...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- compute(int...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(int...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- compute(long...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(long...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- compute(Collection<? extends Number>) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset.
- compute(Collection<? extends Number>) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset.
- computeInPlace(double...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndex
-
Computes the quantile value of the given dataset, performing the computation in-place.
- computeInPlace(double...) - Method in class dev.mccue.guava.math.Quantiles.ScaleAndIndexes
-
Computes the quantile values of the given dataset, performing the computation in-place.
- count() - Method in class dev.mccue.guava.math.PairedStats
-
Returns the number of pairs in the dataset.
- count() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns the number of pairs in the dataset.
- count() - Method in class dev.mccue.guava.math.Stats
-
Returns the number of values.
- count() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the number of values.
D
- dev.mccue.guava.math - module dev.mccue.guava.math
- dev.mccue.guava.math - package dev.mccue.guava.math
-
Arithmetic functions operating on primitive values and on
BigIntegerandBigDecimalinstances. - divide(int, int, RoundingMode) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the result of dividing
pbyq, rounding using the specifiedRoundingMode. - divide(long, long, RoundingMode) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the result of dividing
pbyq, rounding using the specifiedRoundingMode. - divide(BigInteger, BigInteger, RoundingMode) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns the result of dividing
pbyq, rounding using the specifiedRoundingMode. - DoubleMath - Class in dev.mccue.guava.math
-
A class for arithmetic on doubles that is not covered by
Math.
E
- equals(Object) - Method in class dev.mccue.guava.math.PairedStats
- equals(Object) - Method in class dev.mccue.guava.math.Stats
F
- factorial(int) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns
n!, that is, the product of the firstnpositive integers, or1ifn == 0. - factorial(int) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns
n!, that is, the product of the firstnpositive integers,1ifn == 0, orn!, orDouble.POSITIVE_INFINITYifn! > Double.MAX_VALUE. - factorial(int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns
n!, that is, the product of the firstnpositive integers,1ifn == 0, orInteger.MAX_VALUEif the result does not fit in aint. - factorial(int) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
n!, that is, the product of the firstnpositive integers,1ifn == 0, orLong.MAX_VALUEif the result does not fit in along. - floorPowerOfTwo(int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the largest power of two less than or equal to
x. - floorPowerOfTwo(long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the largest power of two less than or equal to
x. - floorPowerOfTwo(BigInteger) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns the largest power of two less than or equal to
x. - forNaN() - Static method in class dev.mccue.guava.math.LinearTransformation
-
Builds an instance for datasets which contains
Double.NaN. - fromByteArray(byte[]) - Static method in class dev.mccue.guava.math.PairedStats
-
Creates a
PairedStatsinstance from the given byte representation which was obtained byPairedStats.toByteArray(). - fromByteArray(byte[]) - Static method in class dev.mccue.guava.math.Stats
-
Creates a Stats instance from the given byte representation which was obtained by
Stats.toByteArray(). - fuzzyCompare(double, double, double) - Static method in class dev.mccue.guava.math.DoubleMath
-
Compares
aandb"fuzzily," with a tolerance for nearly-equal values. - fuzzyEquals(double, double, double) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns
trueifaandbare withintoleranceof each other.
G
- gcd(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the greatest common divisor of
a, b. - gcd(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the greatest common divisor of
a, b.
H
- hashCode() - Method in class dev.mccue.guava.math.PairedStats
- hashCode() - Method in class dev.mccue.guava.math.Stats
- horizontal(double) - Static method in class dev.mccue.guava.math.LinearTransformation
-
Builds an instance representing a horizontal transformation with a constant value of
y.
I
- index(int) - Method in class dev.mccue.guava.math.Quantiles.Scale
-
Specifies a single quantile index to be calculated, i.e.
- indexes(int...) - Method in class dev.mccue.guava.math.Quantiles.Scale
-
Specifies multiple quantile indexes to be calculated, each index being the k in the kth q-quantile.
- indexes(Collection<Integer>) - Method in class dev.mccue.guava.math.Quantiles.Scale
-
Specifies multiple quantile indexes to be calculated, each index being the k in the kth q-quantile.
- IntMath - Class in dev.mccue.guava.math
-
A class for arithmetic on values of type
int. - inverse() - Method in class dev.mccue.guava.math.LinearTransformation
-
Returns the inverse linear transformation.
- isHorizontal() - Method in class dev.mccue.guava.math.LinearTransformation
-
Returns whether this is a horizontal transformation.
- isMathematicalInteger(double) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns
trueifxrepresents a mathematical integer. - isPowerOfTwo(double) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns
trueifxis exactly equal to2^kfor some finite integerk. - isPowerOfTwo(int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns
trueifxrepresents a power of two. - isPowerOfTwo(long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
trueifxrepresents a power of two. - isPowerOfTwo(BigInteger) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns
trueifxrepresents a power of two. - isPrime(int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns
trueifnis a prime number: an integer greater than one that cannot be factored into a product of smaller positive integers. - isPrime(long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
trueifnis a prime number: an integer greater than one that cannot be factored into a product of smaller positive integers. - isVertical() - Method in class dev.mccue.guava.math.LinearTransformation
-
Returns whether this is a vertical transformation.
L
- leastSquaresFit() - Method in class dev.mccue.guava.math.PairedStats
-
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression of
yas a function ofx. - leastSquaresFit() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression of
yas a function ofx. - LinearTransformation - Class in dev.mccue.guava.math
-
The representation of a linear transformation between real numbers
xandy. - LinearTransformation() - Constructor for class dev.mccue.guava.math.LinearTransformation
- LinearTransformation.LinearTransformationBuilder - Class in dev.mccue.guava.math
-
This is an intermediate stage in the construction process.
- log10(int, RoundingMode) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the base-10 logarithm of
x, rounded according to the specified rounding mode. - log10(long, RoundingMode) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the base-10 logarithm of
x, rounded according to the specified rounding mode. - log10(BigInteger, RoundingMode) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns the base-10 logarithm of
x, rounded according to the specified rounding mode. - log2(double) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns the base 2 logarithm of a double value.
- log2(double, RoundingMode) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns the base 2 logarithm of a double value, rounded with the specified rounding mode to an
int. - log2(int, RoundingMode) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the base-2 logarithm of
x, rounded according to the specified rounding mode. - log2(long, RoundingMode) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the base-2 logarithm of
x, rounded according to the specified rounding mode. - log2(BigInteger, RoundingMode) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns the base-2 logarithm of
x, rounded according to the specified rounding mode. - LongMath - Class in dev.mccue.guava.math
-
A class for arithmetic on values of type
long.
M
- mapping(double, double) - Static method in class dev.mccue.guava.math.LinearTransformation
-
Start building an instance which maps
x = x1toy = y1. - max() - Method in class dev.mccue.guava.math.Stats
-
Returns the highest value in the dataset.
- max() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the highest value in the dataset.
- mean() - Method in class dev.mccue.guava.math.Stats
-
Returns the arithmetic mean of the values.
- mean() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the arithmetic mean of the values.
- mean(double...) - Static method in class dev.mccue.guava.math.DoubleMath
-
Deprecated.
- mean(int...) - Static method in class dev.mccue.guava.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)instead, noting the less strict handling of non-finite values. - mean(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the arithmetic mean of
xandy, rounded towards negative infinity. - mean(long...) - Static method in class dev.mccue.guava.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)instead, noting the less strict handling of non-finite values. - mean(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the arithmetic mean of
xandy, rounded toward negative infinity. - mean(Iterable<? extends Number>) - Static method in class dev.mccue.guava.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)instead, noting the less strict handling of non-finite values. - mean(Iterator<? extends Number>) - Static method in class dev.mccue.guava.math.DoubleMath
-
Deprecated.Use
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)instead, noting the less strict handling of non-finite values. - meanOf(double...) - Static method in class dev.mccue.guava.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(int...) - Static method in class dev.mccue.guava.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(long...) - Static method in class dev.mccue.guava.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(Iterable<? extends Number>) - Static method in class dev.mccue.guava.math.Stats
-
Returns the arithmetic mean of the values.
- meanOf(Iterator<? extends Number>) - Static method in class dev.mccue.guava.math.Stats
-
Returns the arithmetic mean of the values.
- median() - Static method in class dev.mccue.guava.math.Quantiles
-
Specifies the computation of a median (i.e.
- min() - Method in class dev.mccue.guava.math.Stats
-
Returns the lowest value in the dataset.
- min() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the lowest value in the dataset.
- mod(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns
x mod m, a non-negative value less thanm. - mod(long, int) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
x mod m, a non-negative value less thanm. - mod(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
x mod m, a non-negative value less thanm.
O
- of(double...) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(int...) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(long...) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(Iterable<? extends Number>) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(Iterator<? extends Number>) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(DoubleStream) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(IntStream) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
- of(LongStream) - Static method in class dev.mccue.guava.math.Stats
-
Returns statistics over a dataset containing the given values.
P
- PairedStats - Class in dev.mccue.guava.math
-
An immutable value object capturing some basic statistics about a collection of paired double values (e.g.
- PairedStatsAccumulator - Class in dev.mccue.guava.math
-
A mutable object which accumulates paired double values (e.g.
- PairedStatsAccumulator() - Constructor for class dev.mccue.guava.math.PairedStatsAccumulator
- pearsonsCorrelationCoefficient() - Method in class dev.mccue.guava.math.PairedStats
-
Returns the Pearson's or product-moment correlation coefficient of the values.
- pearsonsCorrelationCoefficient() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns the Pearson's or product-moment correlation coefficient of the values.
- percentiles() - Static method in class dev.mccue.guava.math.Quantiles
-
Specifies the computation of percentiles (i.e.
- populationCovariance() - Method in class dev.mccue.guava.math.PairedStats
-
Returns the population covariance of the values.
- populationCovariance() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns the population covariance of the values.
- populationStandardDeviation() - Method in class dev.mccue.guava.math.Stats
-
Returns the population standard deviation of the values.
- populationStandardDeviation() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the population standard deviation of the values.
- populationVariance() - Method in class dev.mccue.guava.math.Stats
-
Returns the population variance of the values.
- populationVariance() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the population variance of the values.
- pow(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns
bto thekth power. - pow(long, int) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
bto thekth power.
Q
- Quantiles - Class in dev.mccue.guava.math
-
Provides a fluent API for calculating quantiles.
- Quantiles() - Constructor for class dev.mccue.guava.math.Quantiles
- Quantiles.Scale - Class in dev.mccue.guava.math
-
Describes the point in a fluent API chain where only the scale (i.e.
- Quantiles.ScaleAndIndex - Class in dev.mccue.guava.math
-
Describes the point in a fluent API chain where the scale and a single quantile index (i.e.
- Quantiles.ScaleAndIndexes - Class in dev.mccue.guava.math
-
Describes the point in a fluent API chain where the scale and a multiple quantile indexes (i.e.
- quartiles() - Static method in class dev.mccue.guava.math.Quantiles
-
Specifies the computation of quartiles (i.e.
R
- roundToBigInteger(double, RoundingMode) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns the
BigIntegervalue that is equal toxrounded with the specified rounding mode, if possible. - roundToDouble(long, RoundingMode) - Static method in class dev.mccue.guava.math.LongMath
-
Returns
x, rounded to adoublewith the specified rounding mode. - roundToDouble(BigDecimal, RoundingMode) - Static method in class dev.mccue.guava.math.BigDecimalMath
-
Returns
x, rounded to adoublewith the specified rounding mode. - roundToDouble(BigInteger, RoundingMode) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns
x, rounded to adoublewith the specified rounding mode. - roundToInt(double, RoundingMode) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns the
intvalue that is equal toxrounded with the specified rounding mode, if possible. - roundToLong(double, RoundingMode) - Static method in class dev.mccue.guava.math.DoubleMath
-
Returns the
longvalue that is equal toxrounded with the specified rounding mode, if possible.
S
- sampleCovariance() - Method in class dev.mccue.guava.math.PairedStats
-
Returns the sample covariance of the values.
- sampleCovariance() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns the sample covariance of the values.
- sampleStandardDeviation() - Method in class dev.mccue.guava.math.Stats
-
Returns the corrected sample standard deviation of the values.
- sampleStandardDeviation() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the corrected sample standard deviation of the values.
- sampleVariance() - Method in class dev.mccue.guava.math.Stats
-
Returns the unbiased sample variance of the values.
- sampleVariance() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the unbiased sample variance of the values.
- saturatedAdd(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the sum of
aandbunless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively. - saturatedAdd(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the sum of
aandbunless it would overflow or underflow in which caseLong.MAX_VALUEorLong.MIN_VALUEis returned, respectively. - saturatedMultiply(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the product of
aandbunless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively. - saturatedMultiply(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the product of
aandbunless it would overflow or underflow in which caseLong.MAX_VALUEorLong.MIN_VALUEis returned, respectively. - saturatedPow(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the
bto thekth power, unless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively. - saturatedPow(long, int) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the
bto thekth power, unless it would overflow or underflow in which caseLong.MAX_VALUEorLong.MIN_VALUEis returned, respectively. - saturatedSubtract(int, int) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the difference of
aandbunless it would overflow or underflow in which caseInteger.MAX_VALUEorInteger.MIN_VALUEis returned, respectively. - saturatedSubtract(long, long) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the difference of
aandbunless it would overflow or underflow in which caseLong.MAX_VALUEorLong.MIN_VALUEis returned, respectively. - scale(int) - Static method in class dev.mccue.guava.math.Quantiles
-
Specifies the computation of q-quantiles.
- slope() - Method in class dev.mccue.guava.math.LinearTransformation
-
Returns the slope of the transformation, i.e.
- snapshot() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns an immutable snapshot of the current statistics.
- snapshot() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns an immutable snapshot of the current statistics.
- sqrt(int, RoundingMode) - Static method in class dev.mccue.guava.math.IntMath
-
Returns the square root of
x, rounded with the specified rounding mode. - sqrt(long, RoundingMode) - Static method in class dev.mccue.guava.math.LongMath
-
Returns the square root of
x, rounded with the specified rounding mode. - sqrt(BigInteger, RoundingMode) - Static method in class dev.mccue.guava.math.BigIntegerMath
-
Returns the square root of
x, rounded with the specified rounding mode. - Stats - Class in dev.mccue.guava.math
-
A bundle of statistical summary values -- sum, count, mean/average, min and max, and several forms of variance -- that were computed from a single set of zero or more floating-point values.
- StatsAccumulator - Class in dev.mccue.guava.math
-
A mutable object which accumulates double values and tracks some basic statistics over all the values added so far.
- StatsAccumulator() - Constructor for class dev.mccue.guava.math.StatsAccumulator
- sum() - Method in class dev.mccue.guava.math.Stats
-
Returns the sum of the values.
- sum() - Method in class dev.mccue.guava.math.StatsAccumulator
-
Returns the sum of the values.
T
- toByteArray() - Method in class dev.mccue.guava.math.PairedStats
-
Gets a byte array representation of this instance.
- toByteArray() - Method in class dev.mccue.guava.math.Stats
-
Gets a byte array representation of this instance.
- toStats() - Static method in class dev.mccue.guava.math.Stats
- toString() - Method in class dev.mccue.guava.math.PairedStats
- toString() - Method in class dev.mccue.guava.math.Stats
- transform(double) - Method in class dev.mccue.guava.math.LinearTransformation
-
Returns the
ycorresponding to the givenx.
V
- vertical(double) - Static method in class dev.mccue.guava.math.LinearTransformation
-
Builds an instance representing a vertical transformation with a constant value of
x.
W
- withSlope(double) - Method in class dev.mccue.guava.math.LinearTransformation.LinearTransformationBuilder
-
Finish building an instance with the given slope, i.e.
X
- xStats() - Method in class dev.mccue.guava.math.PairedStats
-
Returns the statistics on the
xvalues alone. - xStats() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns an immutable snapshot of the statistics on the
xvalues alone.
Y
- yStats() - Method in class dev.mccue.guava.math.PairedStats
-
Returns the statistics on the
yvalues alone. - yStats() - Method in class dev.mccue.guava.math.PairedStatsAccumulator
-
Returns an immutable snapshot of the statistics on the
yvalues alone.
All Classes and Interfaces|All Packages|Serialized Form
Stats.meanOf(java.lang.Iterable<? extends java.lang.Number>)instead, noting the less strict handling of non-finite values.