Behaviour
It reduces a measure array performing the specified operation on blocks of elements (aggregation sets). Aggregation sets are listed as binary array of long long and can be of different sizes.
Parameters
Return type
Binary-array.
Examples
Reduces a measure array computing the mean on groups of elements as specified in count_list with the internal dimension of size 15 and the external to-be-reduced one of size 10.
oph_reduce3('OPH_DOUBLE','OPH_DOUBLE',measure,'OPH_AVG',count_list,15,10)
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” / “1” | |||
operator name | “oph_operator” | “no” | “‘oph_count’|’oph_max’|’oph_min’|’oph_avg’|’oph_sum’|’oph_std’|’oph_var’|’oph_cmoment’|’oph_acmoment ‘|’oph_rmoment’|’oph_armo ment’|’oph_arg_max’|’oph_arg_min’” | “‘oph_max’” | “0” / “1” | |
binary count list | “binary-array” | “no” | “array length” | “0” / “1” | ||
block size | “long-long” | “no” | “1” | “array length” / “array length” | “0” / “1” | |
size | “long-long” | “no” | “0” | “array length” / “array length” | “0” / “1” | |
order | “double” | “no” | “2” | “0” / “1” | ||
missingvalue | “double” | “no” | “NAN” | “0” / “1” |