ranm or randMat or randmatrix takes as argument an
integer n or two integers n,m and optionnally a third argument, either an
integer k or the quoted name of a random distribution law
(see also 2.24.25, 2.37.36 and ??).
ranm returns a vector of size n or a matrix of size n× m
containing random integers uniformally 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 input :
Output :
Input :
Output :
Input :
Output :