next
|
previous
|
forward
|
backward
| up |
top
|
index
|
toc
|
Macaulay2 web site
ExteriorIdeals
::
solveMacaulayExpansion
solveMacaulayExpansion -- compute the sum of a Macaulay expansion
Synopsis
Usage:
solveMacaulayExpansion l
Inputs:
l
, a list of pairs of natural numbers representing a Macaulay expansion
Outputs:
an
integer
, representing the sum of binomials in the list
l
Description
Given a list of pairs
{{a_1,b_1}, ... ,{a_k,b_k}}
this method yields the sum of binomials
binomial(a_1,b_1) + ... + binomial(a_k,b_k).
Example:
i1 : solveMacaulayExpansion({{4,2},{3,1}}) o1 = 9
See also
macaulayExpansion
-- compute the Macaulay expansion of a positive integer
Ways to use
solveMacaulayExpansion
:
solveMacaulayExpansion(List)