gcd | R Documentation |
Compute the greatest common divisor (GCD) and least common multiple (LCM) of a collection of polynomials and polylists.
## S3 method for class 'polylist' GCD(...) ## S3 method for class 'polynomial' GCD(...) ## S3 method for class 'polylist' LCM(...) ## S3 method for class 'polynomial' LCM(...)
... |
a list of objects of class |
pl <- polylist(poly.from.roots(-1), poly.from.roots(c(-1, -1)), poly.from.roots(1)) GCD(pl) GCD(pl[-3]) LCM(pl) LCM(pl, pl, pl[[2]])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.