powered by
Returns the column index of the maximum element in each row of an integer matrix. Uses Armadillo's `index_max()` to avoid deprecated `.max(uword&)`.
rowwise_imax_idx(A)
A row vector of 0-based column indices of the maxima.
Integer matrix.