combinat[randpart] - construct a random partition
|
Calling Sequence
|
|
randpart(n)
|
|
Description
|
|
•
|
The function randpart computes and returns a random partition of the positive integer n. This consists of a random list of positive integers whose sum is n.
|
•
|
The command with(combinat,randpart) allows the use of the abbreviated form of this command.
|
|
|
Examples
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?