powered by
Forms an mn x mn commutation matrix which transforms \(vec({\bf A})\) into \(vec({\bf A}^{'})\), where \({\bf A}\) is an m x n matrix
commutation(m, n)
integer; number of rows of A
integer; number of columns of A
Commutation Matrix
Magnus, J. R. & Neudecker, H. (1979) Annals of Statistics 7 (2) 381-394
# NOT RUN { commutation(2,2) # }
Run the code above in your browser using DataLab