PolynomF (version 2.0-2)

LCM: Lowest Common Multiple

Description

For a list of polynomials, find the lowest degree monic polynomial into which each divides exactly

Usage

LCM(...)

lowest_common_multiple(...)

# S3 method for polynom LCM(...)

# S3 method for polylist LCM(...)

Arguments

...

A list of polynomials or polylist objects

Value

A polynomial giving the lowest common multiple

Examples

Run this code
# NOT RUN {
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))
# }

Run the code above in your browser using DataLab