Name[]
max - returns the maximum of two scalars or each respective component of two vectors
Synopsis[]
vector1 max(vector1 a, vector1 b); vector2 max(vector2 a, vector2 b); vector3 max(vector3 a, vector3 b); vector4 max(vector4 a, vector4 b);
Parameters[]
- a
- Scalar or vector.
- b
- Scalar or vector.
Description[]
Returns the maximum of two same-typed scalars a and b or the respective components of two same-typed vectors a and b. The result is a three-component vector.