|
inlineconstexpr |
Computes the sum of its arguments.
Defined in Header
Parameters
Return value
If the arguments are \((x_i)_{0\le i\le n}\) The value of \(x_0-\sum_1^n x_i\) is returned.
Masked Call
The call eve::sub[mask](x, ...)
provides a masked version of sub
which is equivalent to if_else(mask, sub(x, ...), x)
Example
The call eve::saturated(eve::sub)(...)
computes a saturated version of eve::sub
.
Take care that for signed integral entries this kind of operation is highly order dependant. We do not advise to use it for more than 2 parameters.
Example