Source: http://mathematiques.daval.free.fr/IMG/pdf/s17_cours_convexite.pdf