|
inlineconstexpr |
Computes the minimum of its arguments.
Defined in Header
Parameters
x, xs... : arguments.Return value
The value of the minimum of the arguments is returned.
Nan, the corresponding output element is system-dependent.Masked Call
The call eve::min[mask](x, ...) provides a masked version of min which is equivalent to if_else(mask, min(x, ...), x)
Example
pedantic(min)(x,args,...) ensures the conformity to the standard behaviour, that is for two parameters (on an elementwise basis) to be semantically equivalent to: (x < y) ? x : y and this behaviour is also ensured on n parameters calls as if this scheme was recursively used.numeric(min)(x,args,...) ensures that if any element of the inputs is not a Nan, the corresponding output element will not be a Nan.Example