Matrix Multiplication of Rational Matrices
ratm_mult.Rd
Matrix Multiplication of Rational Matrices
Examples
(lp1 = test_lpolm(degree_max = 1, degree_min = -1, random = TRUE))
#> ( 1 x 1 ) Laurent polynomial matrix with degree <= 1, and minimal degree >= -1
#> z^-1 [,1] z^0 [,1] z^1 [,1]
#> [1,] -1.150204 0.1159684 -0.8288636
(lp2 = test_lpolm(degree_max = 1, degree_min = -1, random = TRUE))
#> ( 1 x 1 ) Laurent polynomial matrix with degree <= 1, and minimal degree >= -1
#> z^-1 [,1] z^0 [,1] z^1 [,1]
#> [1,] 0.3495334 0.8032015 2.030743
lp1 %r% lp2
#> ( 1 x 1 ) Laurent polynomial matrix with degree <= 2, and minimal degree >= -2
#> z^-2 [,1] z^-1 [,1] z^0 [,1] z^1 [,1] z^2 [,1]
#> [1,] -0.4020349 -0.883311 -2.532339 -0.4302424 -1.683209