Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

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

Example:
library("distribs")
randomize2(0)
ranexp2(2, 3)

Result:
Contents of x
[1,]   2.2114  0.75716   0.7223
[2,]  0.60829  0.011838  0.46088



Author: Pavel Cizek, 000926
(C) MD*TECH Method and Data Technologies, 05.02.2006