public interface ILookupTable
| Modifier and Type | Interface and Description |
|---|---|
static class |
ILookupTable.Type
table data type
|
| Modifier and Type | Method and Description |
|---|---|
void |
addPoint(Point p)
Add a data point.
|
double |
getDydx(double x)
Get dy/dx.
|
double[] |
getMax(double startX)
starting from the point x, find [x, y] such that f(x) = max.
|
double |
getY(double x)
Get y = f(x)
|
void |
setData(double[] xAry,
double[] yAry)
Set data points, assuming xAry and yAry have the same dimension
|
void |
setData(java.util.List<Vector_xy> list)
Constructor.
|
void |
setData(java.util.List<Vector_xy> list,
boolean inverse)
Constructor.
|
void addPoint(Point p) throws InterpssException
p - data point (x, y)InterpssExceptionvoid setData(double[] xAry,
double[] yAry)
throws InterpssException
xAry - yAry - InterpssExceptionvoid setData(java.util.List<Vector_xy> list, boolean inverse) throws InterpssException
list - inverse - InterpssExceptionvoid setData(java.util.List<Vector_xy> list) throws InterpssException
list - InterpssExceptiondouble getY(double x)
throws InterpssException
x - x valueInterpssExceptiondouble getDydx(double x)
throws InterpssException
x - x valueInterpssExceptiondouble[] getMax(double startX)
throws InterpssException
startX - the start point for searchInterpssException