maximum

taichi_glsl.vector.maximum(v)

Find the maximum value in all elements of a vector.

maximum returns the maximum value in vector elements, i.e., max(v[0], v[1] + …).

Parameters

v – Specifies the vector where to find the maximum element.

Returns

The return value is the maximum value in vector elements.

See also

minimum(), summation().