Skip to main content

R_rsort

Function R_rsort 

Source
pub unsafe fn R_rsort(x: *mut f64, n: c_int)
Expand description

Sort a double vector in place (ascending order).

§Parameters

  • x: Pointer to double array
  • n: Number of elements Checked wrapper for R_rsort. Calls R_rsort_unchecked inside with_r_thread, which panics off R’s main thread. Generated from source location line 2212, column 12. Generated from source file miniextendr-api/src/sys.rs.