Source: http://www.edu.upmc.fr/physique/licence/psvp/Documents/gradient.pdf