LCM | R Documentation |
For a list of polynomials, find the lowest degree monic polynomial into which each divides exactly
LCM(...)
lowest_common_multiple(...)
## S3 method for class 'polynom'
LCM(...)
## S3 method for class 'polylist'
LCM(...)
... |
A list of polynomials or polylist objects |
A polynomial giving the lowest common multiple
p <- poly_calc(0:5)
r <- poly_calc(1:6)
greatest_common_divisor(p, r)
solve(greatest_common_divisor(p, r))
lowest_common_multiple(p, r)
solve(lowest_common_multiple(p, r))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.