Source: https://www.cmm.mines-paristech.fr/~serra/cours/pdf/fr/ch4fr.pdf