Source: http://pcsi.kleber.free.fr/IPT/doc/INS1_introduction_a_numpy_et_scipy.pdf