Skip to main content

abs_sum

Function abs_sum 

Source
pub fn abs_sum<T: SimdOps>(data: &[T]) -> T
Expand description

Reduces the slice to Σ |x| (L1-norm accumulator); T::ZERO for empty.