Skip to main content

cPsort

Function cPsort 

Source
pub unsafe fn cPsort(x: *mut Rcomplex, n: c_int, k: c_int)
Expand description

Partial sort complex numbers.

§Parameters

  • x: Pointer to Rcomplex array
  • n: Number of elements
  • k: Target position (0-indexed) Checked wrapper for cPsort. Calls cPsort_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 2277, column 12. Generated from source file miniextendr-api/src/sys.rs.