Qurak

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 客户端使用