Source: http://eric.univ-lyon2.fr/~ricco/cours/slides/PH%20-%20en%20-%20matrices%20avec%20numpy.pdf