跳转到内容

This page is also in English.

Read it in English

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

permutation_inverse 函数

置换的逆。

怎么写

permutation_inverse(p)

p
一个置换,写成 1、2、3 等分别被映到的位置所构成的列表。接受一个列表。

示例

  • permutation_inverse⁡([2,3,1])=(132)\displaystyle \operatorname{permutation\_inverse}(\left[ 2, 3, 1 \right]) = \begin{pmatrix} 1 & 3 & 2 \end{pmatrix}
    permutation_inverse([2, 3, 1])

    在求解器中,permutation_inverse([2, 3, 1]) 的结果是 [[1, 3, 2]]。

    在求解器中打开