Skip to main content

componentwise_max

Function componentwise_max 

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

Componentwise maximum of two values.

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