Skip to contents

Matrix Multiplication of Rational Matrices

Usage

e1 %r% e2

Arguments

e1, e2

two rational matrix objects (i.e. polm, lmfd, rmfd, stsp, pseries or zvalues objects), or objects which may be coerced to rational matrix objects.

Value

rational matrix object. The class depends on the classes of the arguments e1,e1.

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