D-controllability of linear systems defined by their transfer matrices