reverses the order of rows or columns in a matrix
rev_matrix_rows(x) rev_matrix_cols(x)
x
matrix
a matrix
rev_matrix_rows(diag(c(1,2)))