Kmat_JPH {lazy.symbolic} | R Documentation |
交換行列(Commutation Matrix)
Description
英語のヘルプファイルは: Kmat
Arguments
nr |
行数 |
nc |
列数 |
method |
= 1 vecvecindex 関数を使用する |
Details
vec(t(A)) == Kmat(nr,nc) %*% vec(A)
References
https://en.wikipedia.org/wiki/Commutation_matrix
Examples
nr <- 3
nc <- 2
A <- demomat(nr,nc)
Print( vec(A), vec(t(A)), Kmat(nr,nc) %*% vec(A) )
Print( vec(A), vec(t(A)), t(Kmat(nr,nc)) %*% vec(t(A)) )
[Package lazy.symbolic version 1.0.0.20250830 ]