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 ranexp2 normal2

Quantlet: uniform2
Description: Uniform2 generates arrays up to eight dimensions of pseudo random variables with the standard uniform distribution.

Usage: x=uniform2(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 a standard uniform distribution

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

Result:
Contents of x
[1,]  0.10954    0.469  0.48563
[2,]  0.54428  0.98823  0.63073



Author: P. Cizek, 20000926
(C) MD*TECH Method and Data Technologies, 05.02.2006