
tcoeff - the lowest coefficient of a polynomial

Calling sequence:

tcoeff(poly)
tcoeff(expr [ , indets ])
indets  ---> [ expr_1 ...]

Parameter:
poly           --  polynomial
expr, expr_1   --  expressions

Overloading:

1

Summary:

tcoeff returns the lowest coefficient of a polynomial with respect to the
lexicographical order. (The lowest coefficient with respect to an other order
cannot be determined.)

The first argument of tcoeff is allowed to be a polynomial or an expression
and optionally a listof indeterminates.  An expression is converted into
a polynomial in the specified indeterminates (see function poly).  tcoeff
returns FAIL if the expression cannot be converted into a polynomial. tcoeff
is a kernel function.

>>  tcoeff(3*x^3+x^2*y^2+2, [x,y]);

      2

>>  tcoeff(poly(3*x^3+x^2*y^2, [x,y]));

      1

>>  tcoeff(0, [x,y]);

      0

See also:  coeff , lcoeff , nterms , nthcoeff , poly

