A general transformation to canonical form for potentials in pairwise interatomic interactions.