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)InterpssException
void setData(double[] xAry, double[] yAry) throws InterpssException
xAry
- yAry
- InterpssException
void setData(java.util.List<Vector_xy> list, boolean inverse) throws InterpssException
list
- inverse
- InterpssException
void setData(java.util.List<Vector_xy> list) throws InterpssException
list
- InterpssException
double getY(double x) throws InterpssException
x
- x valueInterpssException
double getDydx(double x) throws InterpssException
x
- x valueInterpssException
double[] getMax(double startX) throws InterpssException
startX
- the start point for searchInterpssException