Skip to main content

masked_dot

Function masked_dot 

Source
pub fn masked_dot<T: SimdOps>(
    a: &[T],
    b: &[T],
    mask: &[bool],
) -> Result<T, SimdError>
Expand description

Computes the dot product of elements matching a boolean mask.