Allows summary group generics to be used on polynomial arguments.
# S3 method for polynomial
Summary(…, na.rm = FALSE)
R objects, the first supplied of class
"polynomial"
.
logical: should missing values be removed?
For the sum
and prod
functions, the sum and product of
the given polynomials, respectively. For the other members of the
Summary group, an error is returned.
Note that one could order polynomials by divisibility, and
define min
and max
as the corresponding lattice meet and
join, i.e., the greatest common divisor and the least common multiple,
respectively. This is currently not provided: instead, functions
GCD
and LCM
should be called directly.