Generates a random number of type double. The number can be distributed normally about 0 (Gaussian distribution) or can have a uniform distribution.
0 |
Boolean |
Gaussian distributed? |
Determines whether the random numbers should have a Gaussian distribution (like a bell curve) or be distributed uniformly. |
1 |
Double |
Random Number |
The resulting random number. |
SUCCESS |
This command always succeeds. |
If the random number is generated uniformly (not Gaussian distributed), it will be between 0 and 1. If Gaussian dis- tributed, it will have no bounds (as a Gaussian distribution is unbounded), but will be centered about 0.