LCM {polyMatrix}R Documentation

LCM for polynomial matrices

Description

The least common multiple of polynomials or polynomial matrices.

Usage

LCM(...)

## S4 method for signature 'polyMatrix'
LCM(...)

Arguments

...

a list of polynomial objects

Methods (by class)

See Also

polynomial implementation polynom::GCD() and GCD()

Examples


# LCM of polynomial matrix
LCM(parse.polyMatrix(
 "  1 - x, 1 - x^2, 1 + 2*x + x^2",
 "x - x^2,   1 + x, 1 - 2*x + x^2"
))  ## 0.25*x - 0.5*x^3 + 0.25*x^5


[Package polyMatrix version 0.9.16 Index]