Allows you to control the interpolation mode of a lookup table so that the next y value is used between x values instead of interpolated.
Units: LOOKUP FORWARD(units,dimensionless) --> units
Just as for normal Lookup usage the x argument is expected to be dimensionless. If not, a warning is issued, but not an error.
Example
LOOK((0,1),(1,1),(2,2))
LOOKUP FORWARD(LOOK,-1) is equal to 1.0
LOOKUP FORWARD(LOOK,1.5) is equal to 2.0
LOOKUP FORWARD(LOOK,2.5) is equal to 2.0
Availability: Not PLE or PLE Plus.
See also: LOOKUP BACKWARD, VECTOR LOOKUP, Lookups
Sample model: LOOKUP functions.mdl in FunctionExamples