I have $W=[W_1 W_2 \dots W_n]$ where $W_n$ is a $n \times 1$ vector and $A=[a_1, \dots, a_n]'$ where $a_n$ are scalars and want to do the following:
$[a_1W_1, a_1W_2, \dots a_nW_n]$ to return a $(n \times n)$ matrix. Is there notation for this? Or some other way to do something equivalent?