TITLE: Standard notation for sum of vector elements?
QUESTION [19 upvotes]: I can think of multiple ways of writing the sum of a vector $\mathbf{v}$'s elements, but is there a standard operator for this?  
Using "programming" notation it is typically sum($v$), but this seems informal.  Perhaps just $\mathbf{1}^T \mathbf{v}$ or $\mathbf{1} \cdot \mathbf{v}$?

REPLY [3 votes]: For the Euclidean space $R^n$, where the inner product is given by the dot product:
$$\langle(x_1, x_2, ..., x_n), (y_1, y_2, ..., y_n)\rangle = x_1 y_1 + x_2 y_2 + ... + x_n y_n$$
See Inner Product - Wolfram MathWorld, http://mathworld.wolfram.com/InnerProduct.html
So we can use $\vec{1}$ to form a inner product with vector $\vec{v}$:
$$\langle\vec{1}, \vec{v}\rangle = v_1 + v_2 + ... + v_n$$
or
$$\langle\vec{v}, \vec{1}\rangle = v_1 + v_2 + ... + v_n$$
Pay attention to the dimension of $\vec{1}$, which be the same as that of $\vec{v}$.