Loading

mapper.eq

mapper

This mapper function returns the first value in a sliding window which is equal to a given value.

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

The mapper.eq function can be applied to data of any type.

The mapper.eq function must be parameterized with the value against which to test for equality.

mapper.eq is available since version 1.0.0.

See also

Signatures

Examples

NEWGTS 10 1 2 3 2.0 ADDVALUE 20 4 5 6 5.0 ADDVALUE 30 7 8 9 1.0 ADDVALUE [ SWAP 2.0 mapper.eq 0 0 0 ] MAP