Qurak

InversePermutation

ใช้งานได้

Returns the inverse of a permutation given in list form.

InversePermutation[perm]
InversePermutation[{2, 3, 1}] → {3, 1, 2}InversePermutation[Cycles[{{3, 2, 5, 1}, {4, 7}}]] → Cycles[{{1, 5, 2, 3}, {4, 7}}]InversePermutation[Cycles[{{1, 2}, {3, 4}}]] → Cycles[{{1, 2}, {3, 4}}]InversePermutation[{1, 1}] → InversePermutation::permlist: Invalid permutation list {1, 1}. InversePermutation[{1, 1}]

หัวข้อ

ที่เกี่ยวข้อง

ฟังก์ชันทั้งหมด 6300 รายการ · ใช้สิ่งนี้จากไคลเอนต์ MCP