Combinatorica`
Combinatorica`
RandomComposition
RandomComposition[n,k]
constructs a random composition of integer into parts.
更多信息和选项
- To use RandomComposition, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
RandomComposition[n,k]
constructs a random composition of integer into parts.