logo-header

 
 

syntax

  • max_elem(a, b, .. , n

definition

max_elem(a, b, .. , n) results in a data item with the same domain and values unit as the data items a, b, .. , n. The resulting values are the maximum values of the items a, b, .. , n.

applies to

Data items with Numeric or string value type

conditions

  1. Domain of the arguments must match or be void.
  2. Arguments must have matching:

since version

5.15

example

attribute<int32> max_elemABC (ADomain) := max_elem(A, B, C);
A(int32) B(int32) C(int32)   max_elemABC
0 1 2 2
1 -1 4 4
-2 2 2 2
4 0 7 7
999 111 -5 999
ADomain, nr of rows = 5

see also


OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904