randvector takes as argument an integer n and optionally a
second argument, either an integer k or the quoted name of
a random distribution law
(see also 5.27.25).
randvector returns a vector of size n containing random integers
uniformly distributed between -99 and +99 (default), or between 0 and k−1
or containing random
integers according to the law put between quotes.
Input :
Output :
Input :
or :
Output :
Input :
Output :
Input :
Output :