|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--InterpolatedFunction
Creates a lookup function based on some input points. Assumes the function is piecewise-linear between the input points and returns values based on that assumption. This class was created in order to map PCA widths to actual line widths based on some data from known lines, but could possibly be useful for other functions as well.
Constructor Summary | |
InterpolatedFunction(double[] x_values,
double[] y_values)
create a new Interpolated Function based on some input data |
Method Summary | |
double |
getY(double x)
return Y value for specified X |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public InterpolatedFunction(double[] x_values, double[] y_values)
Method Detail |
public double getY(double x)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |