|
inlineconstexpr |
Computes the elementwise product of the first parameter by the sign of the second.
Defined in Header
Parameters
x
, y
: arguments.Return value
The elementwise product of the first parameter by the sign of the second is returned.
Masked Call
The call eve::negate[mask](x, ...)
provides a masked version of negate
which is equivalent to if_else(mask, negate(x, ...), x)
Example