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