The randvector
command creates random vectors (see also Section 11.1.28).
randvector takes one mandatory argument and one
optional argument:
n, an integer.
Optionally, X, which can be an integer or a random
variable. In place of a random variable, the specifications for a
distribution can be used. (See Section 20.3.4 for random
variables and their specifications.)
randvector(n,X) returns a vector of size n
containing random integers:
with no second argument, distributed uniformly between
−99 and +99.
with a second argument of X, distributed uniformly
between 0 and k−1.
with a second argument the specification of a distribution,
distributed according to this distribution.