Class TableDefinedFunctionSimple<X,Y>
java.lang.Object
net.simplace.sim.components.util.helper.TableDefinedFunctionSimple<X,Y>
- All Implemented Interfaces:
Function<X,
Y>
- Direct Known Subclasses:
TableDefinedFunction
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTableDefinedFunctionSimple
(X[] xtable, Y[] ytable) TableDefinedFunctionSimple
(X[] xtable, Y[] ytable, boolean caching) TableDefinedFunctionSimple
(X[] xtable, Y[] ytable, boolean caching, boolean extrapolating) TableDefinedFunctionSimple
(X[] xtable, Y[] ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method) TableDefinedFunctionSimple
(X[] xtable, Y[] ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method, double factor) -
Method Summary
Modifier and TypeMethodDescriptionprotected Y
protected Y
protected int
protected Double
protected Y
getValueAt
(X x) protected boolean
void
setMissingValue
(Y v)
-
Field Details
-
xTableValues
-
yTableValues
-
y
-
missing
-
iLast
protected int iLast -
isCaching
protected boolean isCaching -
isExtrapolating
protected boolean isExtrapolating -
isConstant
protected boolean isConstant -
scaleFactor
-
interpolMethod
-
xrounding
-
yrounding
-
-
Constructor Details
-
TableDefinedFunctionSimple
-
TableDefinedFunctionSimple
-
TableDefinedFunctionSimple
-
TableDefinedFunctionSimple
public TableDefinedFunctionSimple(X[] xtable, Y[] ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method) -
TableDefinedFunctionSimple
public TableDefinedFunctionSimple(X[] xtable, Y[] ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method, double factor)
-
-
Method Details