Python, Mathematics, Computer Science, Data Science, Machine Learning.
translation, scaling, rotation, and shear. Most of our vectors are shifted around. Some, though, point in the same direction before and after a transform. Let’s take a look at a simple horizontal scaling! We can achieve this with the linear transform matrix [[2, 0], [0, 1]]. Figure 1: Visualizing