LCM {polyMatrix} | R Documentation |
The least common multiple of polynomials or polynomial matrices.
LCM(...)
## S4 method for signature 'polyMatrix'
LCM(...)
... |
a list of polynomial objects |
polyMatrix
: the least common multiple of polynomial matrices
polynomial implementation polynom::GCD()
and GCD()
# 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