Computes a balanced partition of an integer n of length d
i1 : (d,n) = (4,7); |
i2 : e = balancedPartition(d,n)
o2 = {2, 2, 2, 1}
o2 : List
|
The object balancedPartition is a method function.