Skip to main content

masked_sum

Function masked_sum 

Source
pub fn masked_sum<T: SimdOps>(data: &[T], mask: &[bool]) -> T
Expand description

Computes the sum of elements matching a boolean mask.