up previous next
DensePoly

the sum of all power-products of a given degree

Syntax
DensePoly(R: RING, N: INT): RINGELEM

Description
This function returns the sum of all power-products of (standard) degree N.

Example
/**/  Use R ::= QQ[x,y];
/**/  DensePoly(R,3);
x^3 + x^2*y + x*y^2 + y^3

/**/  Ws := RowMat([2,3]);
/**/  P := NewPolyRing(QQ, "x,y", MakeTermOrd(Ws), 1);
/**/  Use P;
/**/  DensePoly(P,1);  // NOTE: standard degree!!
y +x

See Also