Shuffles each column of a numeric matrix

shuffle_each_column(mat)

Arguments

mat

matrix to shuffle

Value

matrix in which all the columns are shuffled (each column is shuffled separately)