up previous next
CoeffListWRTSupport    --    list of coefficients of a polynomial wrt a power-product basis


Syntax
CoeffListWRTSupport(f: RINGELEM, basis: RINGELEM): LIST of RINGELEM

Description
This function returns the list of the coefficients of f relative to the basis of power-products given by the support of basis . The elements of the list belong to the coefficient ring of the ring of f .

Note that the returned list is reversed with respect to the order of the power-products in basis .

Example
/**/  use R ::= QQ[x,y,z];
/**/  f := 5*y^2 + (3*x-1)*y;
/**/  basis := (1+x+y)^2;
/**/  CoeffListWRTSupport(f, basis);
[0,  -1,  0,  5,  3,  0]

See Also