Vector Constructor Syntax Similar to Sigma

44 Views Asked by At

Is there a syntax like $$\sum_{i=0}^n i^2$$ but for constructing vectors instead of summing?

Something like $$?_{i=0}^n i^2$$ would represent $$\begin{pmatrix}0 & 1 & 4 & 9 & ... & n^2\end{pmatrix}$$

If there isn't one, what would be the best (most compact) way of representing this behavior?

1

There are 1 best solutions below

1
On

You could say $\vec a=(a_0,a_1,\dots,a_n),$ $a_i=i^2, 0\le i\le n.$