Loading

mapper.exp


mapper
Since v1.0.0
Available on all platforms
See also

This mapper function raises a constant to 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.exp function can be applied to data of type LONG or DOUBLE.

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

The result is always of type DOUBLE.

Note

The mapper.exp mapper needs a single value sliding window, i.e. pre-window and post-window to 0.

So you are looking for a way to apply the exponential function, ex, to a series of Geo Time Series™. It’s very easy to do it using mapper.exp and the e constant.

Signature

Examples

NEWGTS 10 NaN NaN NaN 2.0 ADDVALUE 20 NaN NaN NaN 5.0 ADDVALUE [ SWAP 2 mapper.exp 0 0 0 ] MAP