I tried, but not sure whether my understanding is correct based on the result.
a={1,2,3,4};
b={1,2,3,1};
max(a,b) will be {1,2,3,4};
a={1,4,3,1};
b={1,2,3,1};
max(a,b) will be {1,4,3,1};
a={1,2,3,1};
b={1,2,4,1};
max(a,b) will be {1,2,4,1};
It seems the max() return the vector who is the first has the larger element by comparing from left hand side.
Am I correct?
L
yes, it's a lexicographical compare, just like in a dictionary