Loading

mapper.pow

mapper

This mapper function raises the single value in a sliding window to a constant power.

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.pow function can be applied to data of type LONG or DOUBLE.

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

The result is always of type DOUBLE.

mapper.pow is available since version 1.0.0.

See also

Signature

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 mapper.pow 0 0 0 ] MAP