Compute vector of indices for efficient access to diagonal of a square matrix
integer dimension of (square) matrix
integer vector of length n with indices (unidimensional) of square matrix
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.