powered by
This function permutes the columns of a given matrix with a cyclic permutaion
perm_mat(a, v)
A matrix
The length of the cyclic permutation
A matrix permuted cyclically by v columns
v
# NOT RUN { perm_mat(a=diag(1,5),4) # }
Run the code above in your browser using DataLab