Investment Studio > Expressions > Functions > Matrix > MAKEVECTOR
float array[n][1] makevector(integer n, float start = 1, float increment = 1)
Returns an n-element column vector with start value in first position, start + increment in second position and so on, up to start + (n - 1) * increment in n:th position.
If start and increment are omitted, they default to 1.
Examples
=makevector(3)
equals {{1}, {2}, {3}}
=makevector(3, 10)
equals {{10}, {11}, {12}}
=makevector(3, 10, 5)
equals {{10}, {15}, {20}}.
See also m1.