Select Sub Table

Description

Submodel Select the sub-table from the given table based on the given step.

If a sub-table corresponding to the given step is not found, the sub-table corresponding to the greatest key smaller than the given step is returned.

Inputs

Name	Type	Description
Input Table	Map	The table containing the sub-tables corresponding to steps.
Step	Double	The input step.

Outputs

Name	Type	Description
Result	Table	The resulting sub-table.

Group

Table

Notes

This submodel is similar to functor Get Table From Key, except that if a key is not found, it retrieves the sub-table corresponding to the greatest key smaller than the given step. This is the same behavior found in operators like Select Lookup Table and Select Transition Matrix. Thus, the use of this submodel is advised as a better replacement to the Select family of functors.

Internal Name

GetTableValue