Skip to main content

sum

Function sum 

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

Computes the sum of elements in the slice using runtime-dispatched SIMD.