next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
Book3264Examples
::
diagrams(ZZ,ZZ,ZZ)
diagrams(ZZ,ZZ,ZZ) -- Partitions contained in a rectangle
Synopsis
Usage:
diagrams(k,n,d)
Function:
diagrams
Inputs:
k
,
an
integer
, maximum size of each entry in partitions
n
,
an
integer
, number of entries in paritition
d
,
an
integer
, number being partitioned
Outputs:
a list of lists of integers
{a
1
, …, a
n
}
such that
k ≥a
1
≥... ≥a
n
≥0
and
∑
i=1
n
a
i
= d