Source: https://bmm.univ-lyon1.fr/bmm/data/cours/algebre_lineaire/al4_tout.pdf