Behaviour
It shifts the values inside a measure array by ‘offset’ positions using the ‘filling’ value.
Parameters
Return type
Binary-array.
Examples
Shift to the left the values inside a measure array by 2 positions using 0 as filling value.
oph_shift('OPH_DOUBLE','OPH_DOUBLE',measure,-2,0)
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” | |||
offset | “long-long” | “no” | “0” | “0” / “1” | ||
filling | “double” | “no” | “0” | “0” / “1” |