Solution (source code)

= Solution

The <outer product> of the column <vector> with its <matrix transpose> is the $2\times2$ <matrix>
$$
\boxed{\mathbf n\mathbf n^T=\begin{pmatrix}n_1^2&n_1n_2\\n_1n_2&n_2^2\end{pmatrix}.}
$$