Let $A \in \mathbb{R}^{n \times n}$ and $w \in \mathbb{R}^n$. Suppose that, $w_i>0$ and $a_{i,j} = w_i / w_j$ for all $i,j=1,\dots,n$.
Note that from the construction comes that $\operatorname{rank} A=1$.
Prove that the eigenvectors of $A$ are a basis in $\mathbb{R}^n$, or equivalently prove that $A$ is diagonalizable.