in linear algebra, a rotation matrix is a matrix that is used to perform a rotation in euclidean space. for example the matrix :r = \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \\ \end{bmatrix} rotates points in the xy-cartesian plane counter-clockwise through an angle  about the origin of the cartesian coordinate system. to perform the rotation using a rotation matrix , the position of each point must be represented by a column vector v, containing the coordinates of the point. a rotated vector is obtained by using the matrix multiplication v. rotation matrices also provide a means of numerically representing an arbitrary rotation of the axes about the origin, without appealing to angular specification. these coordinate rotations are a natural way to express the orientation of a camera, or the attitude of a spacecraft, relative to a reference axes-set. once an observational platform's local x-y-z axes are expressed numerically as three direction vectors in world coordinates, they together comprise the columns of the rotation matrix  (world â platform) that transforms directions (expressed in world coordinates) into equivalent directions expressed in platform-local coordinates. the examples in this article apply to rotation of vectors anti-clockwise in a right-handed system by pre-multiplication. if any one of these is changed (e.g. rotating axes instead of vectors), then the transpose of the example matrix should be used. since matrix multiplication has no effect on the zero vector (the coordinates of the origin), rotation matrices can only be used to describe rotations about the origin of the coordinate system. rotation matrices provide an algebraic description of such rotations, and are used extensively for computations in geometry, physics, and computer graphics. rotation matrices are square matrices, with real entries. more specifically they can be characterized as orthogonal matrices with determinant&nbsp;1, :r^{t} = r^{-1}, \det r = 1\,. in some literature, the term rotation is generalized to include improper rotations, characterized by orthogonal matrices with determinant&nbsp;â1 (instead of +1). these combine proper rotations with reflections (which invert orientation). in other cases, where reflections are not being considered, the label proper may be dropped. this convention is followed in this article. the set of all orthogonal matrices of size  with determinant +1 forms a group known as the special orthogonal group . the set of all orthogonal matrices of size
Mathematical_physics Matrices Transformation_(function)