-
Notifications
You must be signed in to change notification settings - Fork 1
argmax_ifdefined
mtbeek32 edited this page Jan 31, 2024
·
3 revisions
Ordering functions argmax ifdefined
- argmax_ifdefined(a, b, .. , n)
argmax_ifdefined(a, b, .. , n) is a variant of the argmax function resulting in defined values if any value of the arguments for an entry in the domain unit is defined. If all arguments contain null values, the resulting value for that entry will be null. If all arguments contain the same value, e.g. A=0, B=0, C=0, then the result will be the first argument.
8.6.5
attribute<uint32> argmax_ifdefinedABC (DomDomain) := argmax_ifdefined(A, B, C);
A(int32), sequencenr: 0 |
B(int32), sequencenr: 1 |
C(int32), sequencenr: 2 |
argmax_ifdefinedABC |
---|---|---|---|
0 | 1 | 2 | 2 |
1 | -1 | 4 | 2 |
-2 | 2 | 2 | 1 |
4 | 0 | 7 | 2 |
999 | 111 | -5 | 0 |
2 | null | 1 | 0 |
0 | 1 | null | 1 |
null | 1 | 2 | 2 |
null | null | null | null |
1 | 1 | 1 | 0 |
DomDomain, nr of rows = 10
- argmax_ifdefined_uint16, a version of the argmax_ifdefined function resulting in a uint16 data item
- argmax_ifdefined_uint8, a version of the argmax_ifdefined function resulting in a uint8 data item
- argmax_alldefined
- argmax
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.