VEX Dictionary / max
max
Returns the largest value among the given numbers, vectors, or array elements.
group: mathmath
Available in every context
Usage
int max(int value1, int value2, ...)
float max(float value1, float value2, ...)
<vector> max(<vector> value1, <vector> value2, ...)
<type> max(<type> values[])
float max(<vector> values)
<type> max(<type> value)`:
Examples
No worked examples yet.
Signatures (from vcc -X)
float max(float)all contextsfloat max(float, float, ...)all contextsfloat max(vector4)all contextsfloat max(vector2)all contextsfloat max(vector)all contextsfloat max(float[])all contextsint max(int)all contextsint max(int, int, ...)all contextsint max(int[])all contextsvector4 max(vector4, vector4, ...)all contextsvector4 max(vector4[])all contextsvector2 max(vector2, vector2, ...)all contextsvector2 max(vector2[])all contextsvector max(vector, vector, ...)all contextsvector max(vector[])all contexts