indx_Commutator_Kperm {MultiStatM} | R Documentation |
Index vector for commutation of T-products of any number of vectors
Description
Produces any permutation of kronecker products of vectors of any length. Same results as matr_Commutator_Kperm.
Usage
indx_Commutator_Kperm(perm, dims)
Arguments
perm |
vector indicating the permutation of the order in the Kronecker product, |
dims |
vector indicating the dimensions of the vectors, use dims <- d if all dimensions are equal |
Value
An index vector to produce the permutation
References
Holmquist B (1996) The d-variate vector Hermite polynomial of order. Linear Algebra and its Applications 237/238, 155-190.
Gy., Terdik, Multivariate statistical methods - going beyond the linear, Springer 2021, 1.2.4 Commuting T-Products of Vectors.
See Also
Other Matrices and commutators:
indx_Commutator_Kmn()
,
indx_Commutator_Mixing()
,
indx_Commutator_Moment()
,
indx_Elimination()
,
indx_Qplication()
,
indx_Symmetry()
,
indx_UnivMomCum()
,
matr_Commutator_Kmn()
,
matr_Commutator_Kperm()
,
matr_Commutator_Mixing()
,
matr_Commutator_Moment()
,
matr_Elimination()
,
matr_Qplication()
,
matr_Symmetry()
Examples
a1<-c(1,2)
a2<-c(2,3,4)
a3<-c(1,3)
p1<-a1%x%a2%x%a3
p1[indx_Commutator_Kperm(c(3,1,2),c(2,3,2))]
## Same as
a3%x%a1%x%a2
## Same as
as.vector(matr_Commutator_Kperm(c(3,1,2),c(2,3,2))%*%p1)