w(z)=Pm(z)/Qm(z),