p$cancel(g, include = FALSE) cancels the common factors of the
polynomials p and g, as SymPy's Poly.cancel(): it returns the
constant factor and the two reduced polynomials, or with
include = TRUE the two polynomials with the constant multiplied in.
p$factor_list() is SymPy's Poly.factor_list(): the constant and a
list of (factor, multiplicity) pairs with the factors as polynomials.
p$domain is the coefficient domain. Other names give the components of
the object.
Arguments
- x
A polynomial made by
Poly().- name
A method or component name.