Skip to main content

cPsort

Function cPsort 

Source
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 and routes through with_r_thread. Generated from source location line 3460, column 8. Generated from source file miniextendr-api/src/ffi.rs.