GCD: GCD for polynomial matrices

Description Usage Arguments Methods (by class) See Also Examples

Description

The greatest common divisor of polynomials or polynomial matrices.

Usage

1
2
3
4
GCD(...)

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

Arguments

...

a list of polynomial objects

Methods (by class)

See Also

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

Examples

1
2
3
4
5
6
# GCD of polynomial matrix

GCD(parse.polyMatrix(
 "  1 - x, 1 - x^2, 1 + 2*x + x^2",
 "x - x^2,   1 + x, 1 - 2*x + x^2"
))  ## 1

polyMatrix documentation built on July 18, 2021, 5:06 p.m.