public class PolynomialFit
extends java.lang.Object
Constructor and Description |
---|
PolynomialFit() |
PolynomialFit(int degree,
int numy,
double xlo,
double xhi) |
Modifier and Type | Method and Description |
---|---|
double |
evalPoly(VectorNd coefs,
double x) |
void |
fit(VectorNd coefs,
double[] yv) |
void |
fit(VectorNd coefs,
double[] yv,
int numy,
double xlo,
double xhi,
int degree) |
void |
fit(VectorNd coefs,
VectorNd yv,
double xlo,
double xhi,
int degree) |
VectorNd |
getSavitzkyGolayWeights(double s) |
static void |
main(java.lang.String[] args) |
double |
maximumDeviation(VectorNd coefs,
double[] yv,
int numy,
double xlo,
double xhi) |
double |
maximumDeviation(VectorNd coefs,
VectorNd yv,
double xlo,
double xhi) |
double |
standardDeviation(VectorNd coefs,
double[] yv,
int numy,
double xlo,
double xhi) |
double |
standardDeviation(VectorNd coefs,
VectorNd yv,
double xlo,
double xhi) |
double |
variance(VectorNd coefs,
double[] yv,
int numy,
double xlo,
double xhi) |
double |
variance(VectorNd coefs,
VectorNd yv,
double xlo,
double xhi) |
public PolynomialFit()
public PolynomialFit(int degree, int numy, double xlo, double xhi)
public void fit(VectorNd coefs, double[] yv)
public VectorNd getSavitzkyGolayWeights(double s)
public void fit(VectorNd coefs, double[] yv, int numy, double xlo, double xhi, int degree)
public double evalPoly(VectorNd coefs, double x)
public double variance(VectorNd coefs, double[] yv, int numy, double xlo, double xhi)
public double standardDeviation(VectorNd coefs, double[] yv, int numy, double xlo, double xhi)
public double standardDeviation(VectorNd coefs, VectorNd yv, double xlo, double xhi)
public double maximumDeviation(VectorNd coefs, double[] yv, int numy, double xlo, double xhi)
public double maximumDeviation(VectorNd coefs, VectorNd yv, double xlo, double xhi)
public static void main(java.lang.String[] args)