A rotation can be represented by a rotation axis n^
and an angle θ
A rotation matrix corresponding to a rotation by θ
around an axisn^
is as follows:
where [n^]_x
is the matrix form of the cross product operator with the vector n^=(n^_x,n^_y,n^_z)