Skip to main content

rPsort

Function rPsort 

Source
unsafe fn rPsort(x: *mut f64, n: c_int, k: c_int)
Expand description

Partial sort doubles (moves k-th smallest to position k).

ยงParameters

  • x: Pointer to double array
  • n: Number of elements
  • k: Target position (0-indexed) Checked wrapper for rPsort. Calls rPsort_unchecked and routes through with_r_thread. Generated from source location line 3450, column 8. Generated from source file miniextendr-api/src/ffi.rs.