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