## Uses of Classcom.google.common.math.LinearTransformation

• Packages that use LinearTransformation
Package Description
Arithmetic functions operating on primitive values and `BigInteger` instances.
• ### Uses of LinearTransformation in com.google.common.math

Methods in com.google.common.math that return LinearTransformation
Modifier and Type Method Description
`LinearTransformation` LinearTransformation.LinearTransformationBuilder.```and​(double x2, double y2)```
Finish building an instance which also maps `x = x2` to `y = y2`.
`static LinearTransformation` LinearTransformation.`forNaN()`
Builds an instance for datasets which contains `Double.NaN`.
`static LinearTransformation` LinearTransformation.`horizontal​(double y)`
Builds an instance representing a horizontal transformation with a constant value of `y`.
`abstract LinearTransformation` LinearTransformation.`inverse()`
Returns the inverse linear transformation.
`LinearTransformation` PairedStats.`leastSquaresFit()`
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression of `y` as a function of `x`.
`LinearTransformation` PairedStatsAccumulator.`leastSquaresFit()`
Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression of `y` as a function of `x`.
`static LinearTransformation` LinearTransformation.`vertical​(double x)`
Builds an instance representing a vertical transformation with a constant value of `x`.
`LinearTransformation` LinearTransformation.LinearTransformationBuilder.`withSlope​(double slope)`
Finish building an instance with the given slope, i.e.