The numerator of is the product of distances to the zeroes; the denominator is the product of distances to the poles.