hygernd
Random arrays from the hypergeometric distribution.
r = hygernd ((t, m, n
returns an array of
random numbers chosen from the hypergeometric distribution with parameters
t, m, and n. The size of r is the common size of the
input parameters. A scalar input functions as a constant matrix of the same
size as the other inputs.
The parameters t, m, and n must be positive integers with m and n not greater than t.
When called with a single size argument, return a square matrix with the dimension specified. When called with more than one scalar argument the first two arguments are taken as the number of rows and columns and any further arguments specify additional matrix dimensions. The size may also be specified with a vector of dimensions sz.
See also: hygecdf, hygeinv, hygepdf, hygestat
Source Code: hygernd