Dimensions of Objects
dim.RdRetrieve the dimension and degrees of rational matrix objects.
E.g. for a polynomial matrix \(x(z)\) (i.e. for a polm object),
dim(x) returns the vector c(m,n,p),
where m,n are the respective number of rows and columns of the matrix and p is the (polynomial) degree of the matrix.
For a Laurent polynomial, there is an additional element in the vector c(m,n,p,min_deg) returned by dim(x) pertaining to the (possibly negative) minimal degree.
For a rational matrix in RMFD form \(x(z)=d(z)c^{-1}(z)\) (i.e. for an rmfd object),
dim(x) returns the vector c(m,n,p,q),
where m,n are the respective number of rows and columns of the matrix and
p,q are the (polynomial) degrees of the polynomial matrices \(c(z)\) and \(d(z)\) respectively.
Value
Returns a named vector of integers (m,n always refer to the number of
rows and columns of the rational matrix)
c(m,n,p,min_degfor Laurent polynomial matrices (i.e. for
lpolmobjects).c(m,n,p)for polynomial matrices (i.e. for
polmobjects).c(m,n,p,q)for left matrix fraction descriptions (i.e. for
lmfdobjects).c(m,n,p,q)for right matrix fraction descriptions (i.e. for
rmfdobjects).c(m,n,s)for state space representations (i.e. for
stspobjects).c(m,n,lag.max)for power series expansions (i.e. for
pseriesobjects).c(m,n,n.f)for frequency response functions (i.e. for
zvaluesobjects).