Class TableDefinedFunction<X,Y>
java.lang.Object
net.simplace.sim.components.util.helper.TableDefinedFunctionSimple<X,Y>
net.simplace.sim.components.util.helper.TableDefinedFunction<X,Y>
- All Implemented Interfaces:
Function<X,
Y>
-
Nested Class Summary
Nested classes/interfaces inherited from class net.simplace.sim.components.util.helper.TableDefinedFunctionSimple
TableDefinedFunctionSimple.InterpolationMethod
-
Field Summary
Modifier and TypeFieldDescriptionprotected net.simplace.sim.util.FWSimVariable<X[]>
protected net.simplace.sim.util.FWSimVariable<Y[]>
Fields inherited from class net.simplace.sim.components.util.helper.TableDefinedFunctionSimple
iLast, interpolMethod, isCaching, isConstant, isExtrapolating, scaleFactor, xrounding, xTableValues, y, yrounding, yTableValues
-
Constructor Summary
ConstructorDescriptionTableDefinedFunction
(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable) TableDefinedFunction
(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable, boolean caching) TableDefinedFunction
(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable, boolean caching, boolean extrapolating) TableDefinedFunction
(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method) TableDefinedFunction
(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method, double factor) -
Method Summary
Methods inherited from class net.simplace.sim.components.util.helper.TableDefinedFunctionSimple
apply, getConstantValueAt, getExtrapolatedValueAt, getIndexOrdered, getInterpolatedValueAt, getLookupValueAt, isInRange
-
Field Details
-
xTable
-
yTable
-
-
Constructor Details
-
TableDefinedFunction
-
TableDefinedFunction
-
TableDefinedFunction
-
TableDefinedFunction
public TableDefinedFunction(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method) -
TableDefinedFunction
public TableDefinedFunction(net.simplace.sim.util.FWSimVariable<X[]> xtable, net.simplace.sim.util.FWSimVariable<Y[]> ytable, boolean caching, boolean extrapolating, TableDefinedFunctionSimple.InterpolationMethod method, double factor)
-
-
Method Details
-
getValueAt
- Overrides:
getValueAt
in classTableDefinedFunctionSimple<X,
Y>
-