RotationMatrix

RotationMatrix[θ] yields a rotation matrix for the angle θ.

Attributes[RotationMatrix] := {Protected}

Simple examples

In[1]:= RotationMatrix[90*Degree]
Out[1]= {{0, -1}, {1, 0}}