Source: https://perso.univ-rennes1.fr/jean-christophe.breton/Fichiers/proba_L2.pdf