fill

From STX Wiki
< Programmer Guide‎ | Command Reference‎ | EVAL
Revision as of 14:05, 17 May 2010 by 193.171.195.8 (talk) (initial import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
fill

Create a vector with a linear function.

Usage:

fill(n, d, k)

Parameters:
n
The number of elements. There is no default.
d
The start value. The default is 0.
k
The increment step value. The default is 0.
Result:

The result is: x[i = 0..n-1] = d + i*k

Notes:

If n is a vector, the length of the vector is used.

Navigation menu

Personal tools