@ParametersAreNonnullByDefault @CheckReturnValue
Package com.google.common.math
Arithmetic functions operating on primitive values and on
BigInteger
and BigDecimal
instances.
This package is a part of the open-source Guava library.
See the Guava User Guide article on math utilities.
-
Class Summary Class Description BigDecimalMath A class for arithmetic onBigDecimal
that is not covered by its built-in methods.BigIntegerMath A class for arithmetic on values of typeBigInteger
.DoubleMath A class for arithmetic on doubles that is not covered byMath
.IntMath A class for arithmetic on values of typeint
.LinearTransformation The representation of a linear transformation between real numbersx
andy
.LinearTransformation.LinearTransformationBuilder This is an intermediate stage in the construction process.LongMath A class for arithmetic on values of typelong
.PairedStats An immutable value object capturing some basic statistics about a collection of paired double values (e.g.PairedStatsAccumulator A mutable object which accumulates paired double values (e.g.Quantiles Provides a fluent API for calculating quantiles.Quantiles.Scale Describes the point in a fluent API chain where only the scale (i.e.Quantiles.ScaleAndIndex Describes the point in a fluent API chain where the scale and a single quantile index (i.e.Quantiles.ScaleAndIndexes Describes the point in a fluent API chain where the scale and a multiple quantile indexes (i.e.Stats 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 A mutable object which accumulates double values and tracks some basic statistics over all the values added so far.