Source: https://irma.math.unistra.fr/~fbertran/enseignement/Ecole_Doctorale_SVS_Hiver_2009/TD3-Janvier09.pdf