Difference between revisions of "CoCoA:DensePoly"

From ApCoCoAWiki
(pushing XML rev. 1.46, again)
 
(No difference)

Latest revision as of 10:02, 24 October 2007

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>