PermutationPower
可用
Power of a permutation.
PermutationPower[perm, n]
PermutationPower[{2, 3, 1}, 3]
→ {1, 2, 3}PermutationPower[Cycles[{{4, 2, 5}, {6, 3, 1, 7}}], 6]
→ Cycles[{{1, 6}, {3, 7}}]PermutationPower[Cycles[{{4, 2, 5}, {6, 3, 1, 7}}], -2]
→ Cycles[{{1, 6}, {2, 5, 4}, {3, 7}}] 全部 6300 個函式 ·
從 MCP 用戶端使用這個