Realization and partial fractions