RandomKSetPartition

RandomKSetPartition[set,k]
returns a random set partition of set with k blocks.

RandomKSetPartition[n,k]
returns a random set partition of the first n natural numbers into k blocks.

更多信息更多信息