| Package | Description |
|---|---|
| com.google.common.math |
Arithmetic functions operating on primitive values and
BigInteger instances. |
| Modifier and Type | Class and Description |
|---|---|
private static class |
LinearTransformation.NaNLinearTransformation |
private static class |
LinearTransformation.RegularLinearTransformation |
private static class |
LinearTransformation.VerticalLinearTransformation |
| Modifier and Type | Field and Description |
|---|---|
(package private) LinearTransformation |
LinearTransformation.RegularLinearTransformation.inverse |
(package private) LinearTransformation |
LinearTransformation.VerticalLinearTransformation.inverse |
| Modifier and Type | Method and Description |
|---|---|
LinearTransformation |
LinearTransformation.LinearTransformationBuilder.and(double x2,
double y2)
Finish building an instance which also maps
x = x2 to y = y2. |
private LinearTransformation |
LinearTransformation.RegularLinearTransformation.createInverse() |
private LinearTransformation |
LinearTransformation.VerticalLinearTransformation.createInverse() |
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 |
LinearTransformation.RegularLinearTransformation.inverse() |
LinearTransformation |
LinearTransformation.VerticalLinearTransformation.inverse() |
LinearTransformation |
LinearTransformation.NaNLinearTransformation.inverse() |
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.
|
| Constructor and Description |
|---|
RegularLinearTransformation(double slope,
double yIntercept,
LinearTransformation inverse) |
VerticalLinearTransformation(double x,
LinearTransformation inverse) |