Skip to main content

revsort

Function revsort 

Source
unsafe fn revsort(a: *mut f64, ib: *mut c_int, n: c_int)
Expand description

Sort doubles in descending order, carrying along an index array.

ยงParameters

  • a: Pointer to double array (sorted in place, descending)
  • ib: Pointer to integer array (permuted alongside a)
  • n: Number of elements Checked wrapper for revsort. Calls revsort_unchecked and routes through with_r_thread. Generated from source location line 3421, column 8. Generated from source file miniextendr-api/src/ffi.rs.