Source: http://prof.launay.free.fr/cours/3eDP6h_cours_lin_aff.pdf