pub fn masked_dot<T: SimdOps>( a: &[T], b: &[T], mask: &[bool], ) -> Result<T, SimdError>
Computes the dot product of elements matching a boolean mask.