degree(f, x) is the degree in x (-Inf for zero), total_degree()
the total degree, degree_list() the degree in each generator. LC(),
LM() and LT() give the leading coefficient, monomial and term in lex
order; coeffs() the nonzero coefficients; all_coeffs() the dense
coefficient list of a univariate polynomial (highest degree first);
monoms() the exponent vectors; coeff() the coefficient of a monomial.
Usage
degree(f, gen = NULL)
total_degree(f, ...)
degree_list(f, ...)
LC(f, ...)
LM(f, ...)
LT(f, ...)
coeffs(f, ...)
monoms(f, ...)
poly_terms(f, ...)
all_coeffs(f, ...)
coeff(f, x, n = 1)Arguments
- f
An expression or
Poly().- gen
A generator.
- ...
Generators.
- x
A monomial such as
x^2*y, forcoeff().- n
Power of
x, forcoeff().