Mathematica > 離散数学 >

Permutations

Updated In 6 Graphic
Permutations[list]
list 内にある要素の可能なすべての順列をリストにする.
Permutations[list, n]
最高でn 個の要素を含むすべての順列を返す.
Permutations[list, {n}]
厳密にn 個の要素を含むすべての順列を返す.
  • n 個の個別要素のリストの順列はn!となる.
  • 重複している要素は,同一のものとして扱われる. »
  • オブジェクトlist の頭部がListである必要はない.
  • Permutations[list, {nmin, nmax}]は,要素数がnmin 個からnmax 個までの順列を返す.
バージョン 1 の新機能 | バージョン 6 での修正機能
© 2008 Wolfram Research, Inc. japanese.gif
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team