% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/RcppExports.R
\name{rowwise_imax_idx}
\alias{rowwise_imax_idx}
\title{Row-wise argmax (0-based column indices)}
\usage{
rowwise_imax_idx(A)
}
\arguments{
\item{A}{Integer matrix.}
}
\value{
A row vector of 0-based column indices of the maxima.
}
\description{
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&)`.
}
