Mathematica 9 is now available
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.
Mathematica > 数学和算法 > 离散数学 >

Permutations

Permutations[list]
给出 list 中所有元素的可能的排序。
Permutations[list, n]
给出包含最多 n 个元素的排序。
Permutations[list, {n}]
给出包含 n 个元素的排序。
  • n 个不同元素的列表总共有 n!个排序。
  • 重复元素处理为相同。  »
  • 对象 list 不需要有头 List
  • Permutations[list, {nmin, nmax}] 给出从 nminnmax 元素之间的排序。
1 的新功能 | 6 中的修改功能
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team