Loading

mapper.first

mapper

This mapper function returns the first value of each sliding window with its associated location and elevation.

The mapper.first function can be applied to values of any type.

mapper.first is available since version 1.0.11.

See also

Signatures

Examples

[ [ NEWGTS 10 NaN NaN NaN 42.0 ADDVALUE 20 NaN NaN NaN 123.0 ADDVALUE 30 NaN NaN NaN 342.0 ADDVALUE 40 NaN NaN NaN 423.0 ADDVALUE ] mapper.first 5 0 0 ] MAP