Download SIMSCRIPT III Programming Manual

Transcript
________________________________________________________________________
uniform.f ( double_arg1, double_arg2, integer_arg )
A double function that returns a random number in the range m to n from the continuous
uniform distribution having parameters m equal to double_arg1 and n equal to
mn
double_arg2, and mean  equal to
, where m  n . Integer_arg must specify a
2
random number stream between 1 and dim.f(seed.v), or a negative stream number to
generate the antithetic variate.
________________________________________________________________________
weibull.f ( double_arg1, double_arg2, integer_arg )
A double function that returns a nonnegative random number from the Weibull
distribution having shape parameter  equal to double_arg1 and scale parameter 
equal to double_arg2, where   0 and   0 . Integer_arg must specify a random
number stream between 1 and dim.f(seed.v), or a negative stream number to generate the
antithetic variate.
If  equals 1, the Weibull distribution is the same as the exponential distribution. If 
equals 2, the Weibull distribution is the same as the Rayleigh distribution.
________________________________________________________________________
67