Vector containing arithmetic sequence.

Syntax: @seq(d1, d2, n)

d1: number

d2: number

n: integer

Return: vector

Returns a vector holding an arithmetic sequence of n elements. The initial element has value d1, and the difference between each element and its predecessor is d2.

Examples

vector v1 = @seq(0, 1/3, 10)

creates a V1 a 10 element vector with first element 0, and each subsequent element increasing by 1/3.

vector cdf1 = @cnorm(@seq(-2.0, 0.01, 401))

create a 401 element vector of values of the normal CDF evaluated at points from -2.0 to 2.0

Cross-references