squared distance between two vectors x = [ x1 x2 ] and y = [ y1 y2 ] is the sum of squared
differences in their coordinates (see triangle PQD in Exhibit 4.2; |PQ|2 denotes the squared
distance between points P and Q). To denote the distance between vectors x and y we can
use the notation x,y d so that this last result can be written as: