tfchk verifies the structure of a transfer function
tfchk(num, den)
Arguments
num: A numeric vector
den: A numeric vector
Returns
Returns a list with a proper transfer function or with warnings when not proper.
Details
This is a utility function that is always invoked by other functions to verify the structure of num, den. Where num is the numerator and den is the denominator of the transfer function. If the transfer function is not proper, it returns a list with length(num) = length(den).