Source: https://www.ceremade.dauphine.fr/~viossat/PDFs/algebre1/2009-10/systemes-lineaires-nov09.pdf