MatrixPolynomialAlgebra[MatrixGCRD] - compute a greatest common right divisor of 2 matrices of polynomials in row-reduced form
MatrixPolynomialAlgebra[MatrixGCLD] - compute a greatest common left divisor of 2 matrices of polynomials in column-reduced form
|
Calling Sequence
|
|
MatrixGCRD(A, B, x, U, V)
MatrixGCLD(A, B, x, U, V)
|
|
Parameters
|
|
A
|
-
|
Matrix of polynomials
|
B
|
-
|
Matrix of polynomials
|
x
|
-
|
variable name of the polynomial domain
|
U
|
-
|
(optional) list of two matrices of polynomials
|
V
|
-
|
(optional) list of two matrices of polynomials
|
|
|
|
|
Description
|
|
•
|
The MatrixGCRD(A, B, x) command computes a right matrix GCD of two matrices of polynomials. Both input matrices of polynomials can be square or rectangular, but must have the same number of columns. The entries are either univariate polynomials in x over the field of rational numbers Q, or rational expressions over Q (that is, univariate polynomials in x with coefficients in Q(a1,...,an)).
|
•
|
It is required that the matrix of polynomials have full column rank.
|
•
|
The fourth argument is optional. It is used to return a list of matrices. These matrices satisfy the matrix linear diophantine equation U1 . A + U2 . B = MatrixGCRD(A,B).
|
•
|
The MatrixGCLD(A, B, x) command returns a left matrix GCD with optional arguments for returning solutions for matrix linear diophantine equations and right-reduced matrix rational functions. It is required that the matrix of polynomials have full row rank.
|
|
The method used is a fraction-free algorithm by Beckermann and Labahn that computes a matrix GCD using Mahler systems.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
Left matrix GCDs:
>
|
|
| (1) |
Left matrix extended GCD:
>
|
|
| (2) |
>
|
|
| (3) |
Left matrix extended GCD with 2 matrix diophantine equations:
>
|
|
| (4) |
>
|
|
| (5) |
>
|
|
| (6) |
>
|
|
| (7) |
Right matrix GCDs:
>
|
|
| (8) |
Right matrix extended GCD:
>
|
|
| (9) |
>
|
|
| (10) |
Right matrix extended GCD with 2 matrix diophantine equations:
>
|
|
| (11) |
>
|
|
| (12) |
>
|
|
| (13) |
>
|
|
| (14) |
|
|
References
|
|
|
Beckermann, B., and Labahn, G. "Fraction-free Computation of Matrix Rational Interpolants and Matrix GCDs." SIAM Journal on Matrix Analysis and Applications. Vol. 22 No. 1, (2000): 114-144.
|
|
|