Source: https://math.univ-lyon1.fr/homes-www/zugmeyer/TD_fdm2/TD01 Matrices v1.pdf