LCM: Lowest Common Multiple

Description Usage Arguments Value Examples

View source: R/PolynomF.R

Description

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

Usage

1
2
3
4
5
6
7
8
9
LCM(...)

lowest_common_multiple(...)

## S3 method for class 'polynom'
LCM(...)

## S3 method for class 'polylist'
LCM(...)

Arguments

...

A list of polynomials or polylist objects

Value

A polynomial giving the lowest common multiple

Examples

1
2
3
4
5
6

Example output

-120 + 274*x - 225*x^2 + 85*x^3 - 15*x^4 + x^5 
[1] 1 2 3 4 5
720*x - 1764*x^2 + 1624*x^3 - 735*x^4 + 175*x^5 - 21*x^6 + x^7 
[1] 0 1 2 3 4 5 6

PolynomF documentation built on March 26, 2020, 5:57 p.m.