-
Notifications
You must be signed in to change notification settings - Fork 1
Reverse
mtbeek32 edited this page Jan 31, 2024
·
7 revisions
Ordering functions reverse
reverse(a)
reverse(a) reverses the sequence of the values of attribute a. The function results in a new attribute with the same values unit and domain unit as attribute a and with the values of attribut a in reversed order.
attributes with Numeric, Point or bool value type
attribute<float32> reverseA (ADomain) := reverse(A);
| A | reverseA |
|---|---|
| 0 | 100 |
| 1 | null |
| 2.5 | 0 |
| -100 | null |
| 999 | null |
| null | 999 |
| null | -100 |
| 0 | 2.5 |
| null | 1 |
| 100 | 0 |
ADomain, nr of rows = 10
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.