Purpose
Generate a random
number.
Synopsis
double getrand(XPRMcontext ctx);
Argument
ctx
|
Mosel's execution context
|
Return value
A randomly generated number between 0 and 1.
Further information
This function returns a random number in the range
[0,1) using the generator associated to the running model.