Skip to main content

rsort_with_index

Function rsort_with_index 

Source
unsafe fn rsort_with_index(x: *mut f64, indx: *mut c_int, n: c_int)
Expand description

Sort doubles with index array.

ยงParameters

  • x: Pointer to double array (sorted in place)
  • indx: Pointer to integer array (permuted alongside x)
  • n: Number of elements Checked wrapper for rsort_with_index. Calls rsort_with_index_unchecked and routes through with_r_thread. Generated from source location line 3430, column 8. Generated from source file miniextendr-api/src/ffi.rs.