FindPermutation[expr]
Sort[expr]を置換することによって,expr を生成する置換を与える.
FindPermutation[expr1,expr2]
expr1を expr2に変換する置換を,引数の順序だけが異なる2つの式について与える.
FindPermutation
FindPermutation[expr]
Sort[expr]を置換することによって,expr を生成する置換を与える.
FindPermutation[expr1,expr2]
expr1を expr2に変換する置換を,引数の順序だけが異なる2つの式について与える.
詳細
- 置換は頭部Cyclesと共に,互いに素な巡回形式で返される.
- expr1の引数が異なる場合は,返された置換は一意的に定義される.
- FindPermutation[expr2,expr1]は,FindPermutation[expr1,expr2]の逆置換を与える.
例題
すべて開く すべて閉じる例 (1)
FindPermutation[head[a, c, d, e, b], head[c, a, b, d, e]]Permuteを使って結果を確かめる:
Permute[head[a, c, d, e, b], %]スコープ (1)
繰り返される部分を含む式については,置換は一意的には定義されない.FindPermutationは,置換を1つだけ返す:
expr1 = head[a, b, a, c, d, a, b];
expr2 = head[b, a, c, d, a, b, a];g = FindPermutation[expr1, expr2]Permute[expr1, g] === expr2h = Cycles[{{1, 5, 4, 3, 7, 6, 2}}];Permute[expr1, h] === expr2特性と関係 (1)
Orderingとの関係:
expr = {a, d, c, g, h, f};FindPermutation[expr]PermutationCycles[Ordering[expr]]テクニカルノート
-
▪
- 置換
関連するガイド
-
▪
- 置換
テキスト
Wolfram Research (2010), FindPermutation, Wolfram言語関数, https://reference.wolfram.com/language/ref/FindPermutation.html.
CMS
Wolfram Language. 2010. "FindPermutation." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/FindPermutation.html.
APA
Wolfram Language. (2010). FindPermutation. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/FindPermutation.html
BibTeX
@misc{reference.wolfram_2026_findpermutation, author="Wolfram Research", title="{FindPermutation}", year="2010", howpublished="\url{https://reference.wolfram.com/language/ref/FindPermutation.html}", note=[Accessed: 03-November-2026]}
BibLaTeX
@online{reference.wolfram_2026_findpermutation, organization={Wolfram Research}, title={FindPermutation}, year={2010}, url={https://reference.wolfram.com/language/ref/FindPermutation.html}, note=[Accessed: 03-November-2026]}