|
inlineconstexpr |
Parameters
x: An instance of an SIMD valueop: The commutative and associative binary operation to apply.zero: The identity/neutral element used by the operation.Return value
x using the binary operation op and the identity element zero.eve::scan(x, eve::add, eve::zero).op, a call to eve::scan is defined only if op is associative, commutative, and pure.