Notice that the rotation matrix R is assembled by using the rotated basis vectors u, v, w as its rows, and these vectors are unit vectors. By definition, Ra consists of a sequence of dot products between each of the three rows of R and vector a. Each of these dot products determines a scalar component of a in the direction of a rotated basis vector (see previous section).