Uses of Class
com.google.common.math.LinearTransformation
Packages that use LinearTransformation
Package
Description
Arithmetic functions operating on primitive values and on
BigInteger
and BigDecimal
instances.-
Uses of LinearTransformation in com.google.common.math
Subclasses of LinearTransformation in com.google.common.mathModifier and TypeClassDescriptionprivate static final class
private static final class
private static final class
Fields in com.google.common.math declared as LinearTransformationModifier and TypeFieldDescription(package private) LinearTransformation
LinearTransformation.RegularLinearTransformation.inverse
(package private) LinearTransformation
LinearTransformation.VerticalLinearTransformation.inverse
Methods in com.google.common.math that return LinearTransformationModifier and TypeMethodDescriptionLinearTransformation.LinearTransformationBuilder.and
(double x2, double y2) Finish building an instance which also mapsx = x2
toy = y2
.private LinearTransformation
LinearTransformation.RegularLinearTransformation.createInverse()
private LinearTransformation
LinearTransformation.VerticalLinearTransformation.createInverse()
static LinearTransformation
LinearTransformation.forNaN()
Builds an instance for datasets which containsDouble.NaN
.static LinearTransformation
LinearTransformation.horizontal
(double y) Builds an instance representing a horizontal transformation with a constant value ofy
.abstract LinearTransformation
LinearTransformation.inverse()
Returns the inverse linear transformation.LinearTransformation.NaNLinearTransformation.inverse()
LinearTransformation.RegularLinearTransformation.inverse()
LinearTransformation.VerticalLinearTransformation.inverse()
PairedStats.leastSquaresFit()
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression ofy
as a function ofx
.final LinearTransformation
PairedStatsAccumulator.leastSquaresFit()
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression ofy
as a function ofx
.static LinearTransformation
LinearTransformation.vertical
(double x) Builds an instance representing a vertical transformation with a constant value ofx
.LinearTransformation.LinearTransformationBuilder.withSlope
(double slope) Finish building an instance with the given slope, i.e.Constructors in com.google.common.math with parameters of type LinearTransformationModifierConstructorDescription(package private)
RegularLinearTransformation
(double slope, double yIntercept, LinearTransformation inverse) (package private)
VerticalLinearTransformation
(double x, LinearTransformation inverse)