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