Behaviour
It extracts a subset of ‘count’ elements of an array starting from ‘start’.
Parameters
Return type
Binary-array.
Examples
Extract 20 measures starting at index 30.
oph_get_subarray('OPH_DOUBLE','OPH_DOUBLE',measure,30,20)
Operation type
Simple.
Argument name | Type | Mandatory | Values | Default | Min/Max-value | Min/Max-times |
---|---|---|---|---|---|---|
input measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’ |’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
output measure type | “oph_type” | “yes” | “‘oph_double’|’oph_float’ |’oph_int’|’oph_long’|’oph_short’|’oph_byte’” | “1” / “1” | ||
measure | “binary-array” | “yes” | “1” / “1” | |||
start | “long-long” | “no” | “1” | “0” / “1” | ||
count | “long-long” | “no” | “array length” | “0” / “1” |