next | previous | forward | backward | up | top | index | toc | Macaulay2 web site
RelativeCanonicalResolution :: balancedPartition

balancedPartition -- Computes balanced partition of n of length d

Synopsis

Description

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

Ways to use balancedPartition :