Package com.google.common.math
@CheckReturnValue
@NullMarked
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.
-
ClassesClassDescriptionA class for arithmetic on
BigDecimalthat is not covered by its built-in methods.A class for arithmetic on values of typeBigInteger.A class for arithmetic on doubles that is not covered byMath.A class for arithmetic on values of typeint.The representation of a linear transformation between real numbersxandy.This is an intermediate stage in the construction process.A class for arithmetic on values of typelong.An immutable value object capturing some basic statistics about a collection of paired double values (e.g. points on a plane).A mutable object which accumulates paired double values (e.g. points on a plane) and tracks some basic statistics over all the values added so far.Provides a fluent API for calculating quantiles.Describes the point in a fluent API chain where only the scale (i.e. the q in q-quantiles) has been specified.Describes the point in a fluent API chain where the scale and a single quantile index (i.e. the q and the k in the kth q-quantile) have been specified.Describes the point in a fluent API chain where the scale and a multiple quantile indexes (i.e. the q and a set of values for the k in the kth q-quantile) have been specified.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.A mutable object which accumulates double values and tracks some basic statistics over all the values added so far.