GetTableRowVals & GetTableRowValsSkipNaN

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

Description

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

Type

LIST{NUMERIC}

Arguments

Type

Meaning

1

SLOT

the table slot whose values to get

2

NUMERIC

row

3

NUMERIC

start column

4

NUMERIC

end column

Evaluation

A list is generated by looking up each value in the given row, of the given table slot beginning with the start column, and ending with the end column (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 row, start column, or end column do not exist in the slot, or if the start column is greater than the end column, this function aborts the run with an error.

For the GetTableRowVals 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 GetTableRowValsSkipNaN variation of this function, these values are just omitted from the return list.

 
GetTableRowVals(Chickamauga Data.Power Coeffs, 0, 0, 1)
GetTableRowValsSkipNaN(Chickamauga Data.Power Coeffs, 0, 0, 1)
 
 
{2.54 "cms", 2.2 "cms"}