matr_Commutator_Kmn {MultiStatM} | R Documentation |
Transforms vec A to vec of the transposed A. An option for sparse matrix is provided, by default a non-sparse matrix is produced. Using sparse matrices increases computation times, but far less memory is required
matr_Commutator_Kmn(m, n, useSparse = FALSE)
m |
Row-dimension |
n |
Col-dimension |
useSparse |
T or F. |
A commutation matrix matrix of dimension mn \times mn
. If useSparse=TRUE
an object of the class
"dgCMatrix" is produced.
Gy. Terdik, Multivariate statistical methods - Going beyond the linear, Springer 2021 (p.8, (1.12)).
Other Matrices and commutators:
indx_Commutator_Kmn()
,
indx_Commutator_Kperm()
,
indx_Commutator_Mixing()
,
indx_Commutator_Moment()
,
indx_Elimination()
,
indx_Qplication()
,
indx_Symmetry()
,
indx_UnivMomCum()
,
matr_Commutator_Kperm()
,
matr_Commutator_Mixing()
,
matr_Commutator_Moment()
,
matr_Elimination()
,
matr_Qplication()
,
matr_Symmetry()
A<-matrix(1:6,3,2)
as.vector(matr_Commutator_Kmn(3,2)%*%c(A))