Source: https://www.iro.umontreal.ca/~ferland/ift2505/contenu_cours/2_Meth_Simplexe_Analyse.pdf