Source: https://www.math.univ-toulouse.fr/~gadat/Ens/m2sid/07-m2-erreur.pdf