|
SOLUTIONS
|
MATHEMATICA 組込みシンボル
Permutations
Permutations[list]
内にある要素の可能なすべての順列をリストにする.
Permutations[list, n]
最高でn 個の要素を含むすべての順列を返す.
Permutations[list, {n}]
厳密にn 個の要素を含むすべての順列を返す.
詳細詳細
個の個別要素のリストの順列はn!となる.- 重複している要素は,同一のものとして扱われる. »
- オブジェクト
の頭部がListである必要はない. - Permutations[list]は,実質的にPermutations[list, {Length[list]}]と等価である.
- Permutations[list, {nmin, nmax}]は,要素数が
個から
個までの順列を返す.
バージョン 1 の新機能 | バージョン 6 での修正機能
Mathematica 9 is now available!
New to Mathematica?
Find your learning path »
Have a question?
Ask support »

