Skip to main content

reduce_all

Function reduce_all 

Source
pub fn reduce_all<T: Element>(x: &[T], op: ReduceOp) -> T
Expand description

x folded by op from op’s identity, element by element in order. Integers and booleans, whose operations are associative, are folded in eight lanes, which gives the same result.