ranm or randMat or randmatrix takes as argument an
integer n or two integers n,m and optionally a third argument, either an
integer k or the quoted name of a random distribution law
(see also 5.25.25, 5.38.36 and ??).
ranm returns a vector of size n or a matrix of size n× m
containing random integers uniformly distributed between -99 and +99
(default), or between 0 and k−1 or a matrix of size n× m
containing random integers according to the law put between quotes.
Input :
Output :
Input :
Output :
Input :
or :
Output :
Input :
Output :
Input :
Output :