Loading

mapper.mul

mapper

This mapper function multiplies by a constant the single value in a sliding window.

If the sliding window is empty, the function does not return any value. If the sliding window contains more than a single value, an error is produced.

The associated location and elevation are those of the single value.

The mapper.mul function can be applied to data of type LONG or DOUBLE.

The mapper.mul function must be parameterized with the constant.

The result will be of the same type as the constant.

mapper.mul is available since version 1.0.0.

See also

Signatures

Examples

[ [ NEWGTS "GTS1" RENAME 10 NaN NaN NaN 5.0 ADDVALUE 20 NaN NaN NaN 120.0 ADDVALUE NEWGTS "GTS2" RENAME 10 NaN NaN NaN 8.0 ADDVALUE 20 NaN NaN NaN 42.0 ADDVALUE ] 2.0 mapper.mul 0 0 0 ] MAP