pyöritysmatriisin
Pyöritysmatriisin, also known as a rotation matrix, is a fundamental concept in linear algebra and geometry. It is a square matrix used to perform a rotation in a Euclidean space. The most common rotation matrices are 2x2 and 3x3 matrices, which correspond to rotations in the plane (2D) and in three-dimensional space (3D), respectively.
In 2D, a rotation matrix R(θ) for an angle θ is defined as:
This matrix can be used to rotate a vector (x, y) counterclockwise by an angle θ. The resulting
In 3D, rotation matrices are more complex and can be defined for rotations around the x, y,
Rotation matrices have several important properties. They are orthogonal, meaning their transpose is equal to their
Pyöritysmatriisin is widely used in computer graphics, robotics, and other fields where rotations are a common