A: ()
B: ()
x: (1.0,0.0)
y: (0.0,1.0)
S: (1.0,1.0)
A scale matrix can be constructed with a scale vector \(\textbf{S}\). The main diagonal of a scale matrix is filled in with the values from this vector. \[\textbf{S}=(S_x,S_y)\] \[\textbf{x}=(S_x,0.0)\] \[\textbf{y}=(0.0,S_y)\] \[\textbf{B} = \textbf{A} \cdot \begin{bmatrix}S_x & 0 \\ 0 & S_y\end{bmatrix}\] \[ = A_x \textbf{x} + A_y \textbf{y}\] \[ = 1.0 \cdot (1.0,0.0) + 3.0 \cdot (0.0,1.0)\] \[ = \underline{\underline{(1.0,3.0)}}\]