CoCoA:DensePoly

From ApCoCoAWiki

DensePoly

the sum of all power-products of a given degree

Description

This function returns the sum of all power-products of degree N.

Example

  Use R ::= Q[x,y];
  DensePoly(3);
x^3 + x^2y + xy^2 + y^3
-------------------------------
  Use R ::= Q[x,y],Weights(2,3); --  <--- NOTE
  DensePoly(1);
0
-------------------------------
  DensePoly(6);
x^3 + y^2
-------------------------------

Syntax

DensePoly(N:INT):POLY

Randomize

Randomized

   <type>polynomial</type>