public class CurveFitting
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static Function |
linearRegression(double[] xpoints,
double[] ypoints)
Computes the linear regression for the given data.
|
public static Function linearRegression(double[] xpoints, double[] ypoints)
xpoints - double[]ypoints - double[]