Suppose $B$ is an $N\times N$ matrix and $V$ is an $N\times 1$ vector.
I need to find a matrix representation for $V$:
$V_k = \sum_{j}B_{kj}^4 + 2\sum_{i\neq j}\sum_{j}B_{ki}^2B_{kj}^2$
Previously, I asked a somewhat similar question here: Need to find matrix formulation and I can't find the answer of this one either.