Source: https://www.lri.fr/~hivert/COURS/CFA-L3/00-Intro.pdf