Function nalgebra::partial_max

source ·
pub fn partial_max<'a, T: PartialOrd>(a: &'a T, b: &'a T) -> Option<&'a T>
Expand description

Return the maximum of a and b if they are comparable.