pub fn masked_sum<T: SimdOps>(data: &[T], mask: &[bool]) -> T
Computes the sum of elements matching a boolean mask.