Loading

mapper.product


mapper
Since v1.0.11
Available on all platforms
See also

This mapper function computes the product of all the values found in the sliding window.

The mapper.product function can only be applied to values of type LONG or DOUBLE, it will produce no value for types STRING and BOOLEAN.

Warning : with LONG values, computation can silently overflow.

On bucketized Geo Time Series™, it is necessary to fill gaps with FILLVALUE

Signature

Examples

[ NEWGTS 1 10 <% 'i' STORE $i 100 * NaN NaN NaN $i ADDVALUE %> FOR mapper.product 1 1 0 ] MAP