Skip to main content

componentwise_min

Function componentwise_min 

Source
pub fn componentwise_min<T: PartialOrd + Copy, C: Components<T, N>, const N: usize>(
    a: C,
    b: C,
) -> C
Expand description

Componentwise minimum of two values.

Each component of the result is the minimum of the corresponding components of a and b.