Library: | distribs |
See also: | randomize2 normal2 uniform2 |
Quantlet: | ranexp2 | |
Description: | Ranexp2 generates arrays up to eight dimensions of pseudo random variables with the standard exponential distribution. |
Usage: | x=ranexp2(d1{,...,dn}) | |
Input: | ||
d1, ..., dn | scalars - number of elements in dimension 1, ..., n; 1 <= n <= 8 | |
Output: | ||
x | d1 x d2 x ... x dn matrix containing pseudo random variables with the standard exponential distribution |
library("distribs") randomize2(0) ranexp2(2, 3)
Contents of x [1,] 2.2114 0.75716 0.7223 [2,] 0.60829 0.011838 0.46088