Is there a general rule for how to write high order polynomials in matrix form?
For example a linear combination of parameters:
$$a_1 x_1+a_2 x_2+a_3 x_3 + \cdots+ a_n x_n$$
Can be written as
$$\sum^n_{i=1} a_i x_i = \vec{a}^T\vec{x} $$
Second order forms are given by
$$ (a_1 x_1+a_2 x_2+a_3 x_3 + \cdots+ a_n x_n)^2 = \vec{x}^T {\mathbf A} \vec{x}$$
Which ensures all combinations of second order terms. What about the higher orders? i.e.
$$(a_1 x_1+a_2 x_2+a_3 x_3 + \dots +a_n x_n)^k$$
What forms ensure all combinations of terms. Is there a general rule to this? Does it have a name?