public final class LinearRegression extends Object
| Constructor and Description |
|---|
LinearRegression(double[] x,
double[] y)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
double |
getOrigin()
Get the origin A of the linear model y = A + B*x
|
double |
getSlope()
Get the slope B of the linear model y = A + B*x
|
public LinearRegression(double[] x,
double[] y)
x - the array of the abscissasy - the array of the ordinatesPatriusExceptionCopyright © 2025 CNES. All rights reserved.