http://en.wikipedia.org/wiki/Dot_product" is a Wikipedia about the Dot-Product, which includes the relevant section on Rotation.
Given the first example- is it correct where it says "Notice that the rotation matrix R is assembled by using the rotated basis vectors u1, v1, w1 as its rows, and...