Skip to main content

rank

Function rank 

Source
fn rank(a: f64, b: f64, top: bool) -> Ordering
Expand description

The order of a and b for topk (top) or bottomk; NaN ranks last for both.