Transformations can be done with the help of Matrices. A transformation matrix is defined based on the function needed for transformation.
Matrix transformations are performed through matrix multiplication of a point matrix by a transformation matrix. The transformation matrix affects the point matrix, creating a new point matrix.
SmartTest on Transformation Matrix