GroupGenerics | R Documentation |
These provide methods for the generic function Summary
and Math
for polynomial and polylist objects. For Summary
only sum
and prod
members are implemented
## S3 method for class 'polynom'
Summary(..., na.rm = FALSE)
## S3 method for class 'polylist'
Summary(..., na.rm = FALSE)
## S3 method for class 'polynom'
Math(x, ...)
## S3 method for class 'polylist'
Math(x, ...)
... |
Additional arguments |
na.rm |
Logical: should missing values be removed? |
x |
a |
The result of the group generic operation
lis <- as_polylist(lapply(-2:3, function(x) polynomial() - x))
prod(lis)
sum(lis)
solve(prod(lis))
solve(sum(lis))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.