Text this: Polynomial and Rational Matrices