I'm working with a matrix and I am trying to perform an MMult function.
matrix_data = this is a 3by3 matrix
t = 22
matrix_data_adj = lapply(1:t,function(x) matrix_data %^% x)
So I found that function online, although it gives me the desired output; I am trying to understand what the above really does. Especially the (%^%) operator do, then the lapply generally.
Thank you.