Standard notation for sum of vector elements?

36.8k Views Asked by At

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}$?

3

There are 3 best solutions below

0
On BEST ANSWER

If you use the euclidean 1-norm and you want the sum of the absolute values of the entries of $\vec{v}$ (or $v_i\geq 0$ ) you can take $\| \vec{v}\|_1$. Otherwise you can use $sum\{\vec{v} \}$ or $trace( diag\{ \vec{v}\})$. But I guess $sum\{\vec{v}\}$ would be the more "standard" notation.

3
On

$\sum_{i=1}^n v_i$ is the most widely accepted and understood notation.

0
On

Although the summation is also widely accepted, the notation $\mathbf{1}^\top \mathbf{v}$ is well established (and much more elegant since it avoid the clumsy summation symbol).