Source: http://dossierslmm.chez-alice.fr/1S/cours/produit_scalaire.pdf