minimum

taichi_glsl.vector.minimum(v)

Find the minimum value in all elements of a vector.

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

Parameters

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

Returns

The return value is the minimum value in vector elements.

See also

maximum(), summation().