powered by
Construct the communtation matrix.
Kom(m, n)
a natural number.
another natural number.
K The m * n by m * n commutation matrix.
K
m * n
This function constructs the commutation matrix K, which maps c(A) to c(t(A)) for an \(m\) by \(n\) matrix A.
c(A)
c(t(A))
A
Magnus, J. R., & Neudecker, H. (1979). The commutation matrix: some properties and applications. The Annals of Statistics, 381-394.
Tracy, D. S., & Dwyer, P. S. (1969). Multivariate maxima and minima with matrix derivatives. Journal of the American Statistical Association, 64(328), 1576-1594.
# NOT RUN { m <- 5 ; n <- 4 A <- matrix(stats::rnorm(m * n), m, n) Kom(5, 4) %*% c(A) - c(t(A)) # }
Run the code above in your browser using DataLab