public class PolyLeastsquares
extends java.lang.Object
Constructor and Description |
---|
PolyLeastsquares(double[] dX,
double[] dY,
int k)
constructor
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
Correlation()
Find the correlation coefficient for the fit
|
java.lang.String |
Equation()
Return the characteristic equation as a String
|
double |
getValue(double dX)
Calculate the predicted y value for an inputed x
|