Partitions[n]
constructs all partitions of integer
in reverse lexicographic order.
Partitions[n,k]
constructs all partitions of the integer
with maximum part at most
, in reverse lexicographic order.
更多信息和选项
参见
技术笔记
相关指南
Combinatorica`
Combinatorica`
Partitions
Partitions[n]
constructs all partitions of integer
in reverse lexicographic order.
Partitions[n,k]
constructs all partitions of the integer
with maximum part at most
, in reverse lexicographic order.
更多信息和选项
- To use Partitions, you first need to load the Combinatorica Package using Needs["Combinatorica`"].