Behaviour
It returns an array in which the ‘i’-th element is the cumulative sum of the first ‘i’ elements of input array.
Parameters
Return type
Binary-array.
Examples
Return the array in which the ‘i’-th element is the cumulative sum of the first ‘i’ elements of input array.
oph_accumulate('OPH_DOUBLE','OPH_DOUBLE',measure)
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” |