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
Methods in com.google.common.math that return LinearTransformationModifier and TypeMethodDescriptionLinearTransformation.LinearTransformationBuilder.and(double x2, double y2) Finish building an instance which also mapsx = x2toy = y2.static LinearTransformationLinearTransformation.forNaN()Builds an instance for datasets which containsDouble.NaN.static LinearTransformationLinearTransformation.horizontal(double y) Builds an instance representing a horizontal transformation with a constant value ofy.abstract LinearTransformationLinearTransformation.inverse()Returns the inverse linear transformation.PairedStats.leastSquaresFit()Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression ofyas a function ofx.final LinearTransformationPairedStatsAccumulator.leastSquaresFit()Returns a linear transformation giving the best fit to the data according to Ordinary Least Squares linear regression ofyas a function ofx.static LinearTransformationLinearTransformation.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. the rate of change ofywith respect tox.