Function nalgebra::partial_sort2
source · pub fn partial_sort2<'a, T: PartialOrd>(
a: &'a T,
b: &'a T
) -> Option<(&'a T, &'a T)>
Expand description
Sorts two values in increasing order using a partial ordering.
pub fn partial_sort2<'a, T: PartialOrd>(
a: &'a T,
b: &'a T
) -> Option<(&'a T, &'a T)>
Sorts two values in increasing order using a partial ordering.