GetTableColumnVals & GetTableColumnValsSkipNaN

This function evaluates to a list. Each item of the list is the value of the given table slot, in the given column, from the given start row, to the given end row.

Description

All of the values of a table slot column between two rows.

Type

LIST{NUMERIC}

Arguments

Type

Meaning

1

SLOT

the table slot whose values to get

2

NUMERIC

column

3

NUMERIC

start row

4

NUMERIC

end row

Evaluation

A list is generated by looking up each value in the given column of the given table slot beginning with the start row, and ending with the end row (inclusive). Rows and columns are numbered beginning with zero.

Mathematical
Expression

 

Comments

Units are not required for row and column indices and, if provided, will be ignored. If the column, start row, or end row does not exist in the slot, or if the start row is greater than the end row, this function aborts the run with an error.

For the GetTableColumnVals function, if one of the slot values within the desired time range is a NaN, the function exits the rule with an early termination. For the GetTableColumnValsSkipNaN variation of this function, these values are just omitted from the return list.

 
GetTableColumnVals(Chickamauga Data.Power Coeffs, 0, 0, 1)
GetTableColumnValsSkipNaN(Chickamauga Data.Power Coeffs, 0, 0, 1)
 
{ 1.43"cms", 2.12 "cms"}