Skip to main content

R_max_col

Function R_max_col 

Source
unsafe fn R_max_col(
    matrix: *const f64,
    nr: *const c_int,
    nc: *const c_int,
    maxes: *mut c_int,
    ties_meth: *const c_int,
)
Expand description

Find column maxima in a matrix.

ยงParameters

  • matrix: Column-major matrix data
  • nr: Number of rows
  • nc: Number of columns
  • maxes: Output array for column maxima indices (1-indexed)
  • ties_meth: How to handle ties (1=first, 2=random, 3=last) Checked wrapper for R_max_col. Calls R_max_col_unchecked and routes through with_r_thread. Generated from source location line 3623, column 8. Generated from source file miniextendr-api/src/ffi.rs.