Loading

mapper.product

mapper

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

mapper.product is available since version 1.0.11.

See also

Signatures

Examples

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