User guide

E-38
PLI Access Routines
vcs_dist_exponential
You use this routine to return a random number where the distribution
function is exponential.
vcs_dist_exponential
Synopsis: Returns random numbers where the distribution function is exponential.
Syntax: vcs_dist_exponential(seed, mean)
Type Description
Returns: int Random number
Type Name Description
Arguments: int * seed Pointer to a seed integer value.
int mean An integer that is the average value of the
possible returned random numbers.
Related
routines:
vcs_random vcs_random_const_seed vcs_random_seed vcs_dist_uniform
vcs_dist_normal vcs_dist_poisson