Behaviour
It interlaces multiple input measures into a single output measure. It requires at least two measures, otherwise it returns an error. For each measure an input type should be specified. Given two input arrays A(a1, a2, ..., an) and B(b1, b2, ..., bn), the resulting array will be C(a1, b1, a2, b2, ..., an, bn).
Parameters
Return type
Binary-array.
Examples
Interlace three measures.
oph_interlace('OPH_DOUBLE|OPH_FLOAT|OPH_INT','OPH_DOUBLE,OPH_FLOAT,OPH_INT',a.measure,b.measure,c.measure)
Operation type
Reduce.
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” / |