Kronecker Product Permutation Matrix
KPPM.RdForms an mk x mk Kronecker Product Permutation Matrix
Author
Jarrod Hadfield j.hadfield@ed.ac.uk
Examples
KPPM(2,3)
#> [,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
#> [1,] 1 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0
#> [2,] 0 0.3333333 0.3333333 0.0000000 0.3333333 0.0000000 0.0000000 0
#> [3,] 0 0.3333333 0.3333333 0.0000000 0.3333333 0.0000000 0.0000000 0
#> [4,] 0 0.0000000 0.0000000 0.3333333 0.0000000 0.3333333 0.3333333 0
#> [5,] 0 0.3333333 0.3333333 0.0000000 0.3333333 0.0000000 0.0000000 0
#> [6,] 0 0.0000000 0.0000000 0.3333333 0.0000000 0.3333333 0.3333333 0
#> [7,] 0 0.0000000 0.0000000 0.3333333 0.0000000 0.3333333 0.3333333 0
#> [8,] 0 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 1