CoCoA:Support

From ApCoCoAWiki

Support

the list of terms of a polynomial or vector

Description

This function returns the list of terms of F. To get a list of

monomials, which includes coefficients, use <ttref>Monomials</ttref>.

Example

  Use R ::= Q[x,y];
  F := 3x^2-4xy+y^3+3;
  Support(F);
[y^3, x^2, xy, 1]
-------------------------------
  Monomials(F);
[y^3, 3x^2, -4xy, 3]
-------------------------------
  Support(Vector(x^2y,x^3-3y^2,34));
[Vector(0, x^3, 0), Vector(x^2y, 0, 0), Vector(0, y^2, 0), Vector(0, 0, 1)]
-------------------------------

Syntax

Support(F:POLY or VECTOR):LIST

Coefficients

Monomials

   <type>polynomial</type>
   <type>vector</type>