R/matrixOps.R
mat_ind.Rd
Get indices of matrix diagonals, rows, or columns
mat_ind(Xlength, Ylength, index, diagonal = FALSE)
X dim
Y dim
index of diagonal, row or column
diagonal
horizontal
list