This function creates a new vector using the higher value of each component of the two vectors, and returns the result as a pipe-bar delimited list.
VectorMax([Vector 1], [Vector 2])
Where:
Vector 1 is a pipe-bar delimited list representing the first vector (X|Y|Z).
Vector 2 is a pipe-bar delimited list representing the second vector (X|Y|Z).
Rule | Result |
---|---|
VectorMax("5|8","4|9") | Will return the higher values from each co-ordinate given in the 2D vector, 5|9. |
VectorMax("5|8|12","4|9|12") | Will return the higher values from each co-ordinate given in the 3D vector, 5|9|12. |
Due to floating point precision, some calculations may not be as precise as expected.
This can be avoided by following the advice in the topic Info: Floating Point Precision.