Source: http://math.webgirand.eu/teaching/mariette/poly.pdf