|
inlineconstexpr |
Computes the negated absolute value of the maximal element.
This is equivalent to -eve::abs ( eve::max(...) ). but can be subject to optimizations.
Defined in Header
Parameters
x
, ...xs
: arguments.Return value
The negated absolute value of the maximal element is returned.
Masked Call
The call eve::negabsmax[mask](x, ...)
provides a masked version of eve::negabsmax
which is equivalent to eve::if_else (mask, negabsmax(x, ...), x)
Example
The call d(eve::negabsmax)(...)
, where d is one of these two decorators, is equivalent to -eve::abs (d( eve::max )(...))
.