Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | mathematics | |
Tool | randomnumbers |
The uniform function will generate floating point numbers that are uniformly distributed between the specified lower and upper bounds. The lower is included in the range but the upper bond is not. See the general tool description for a more mathematical definition of the point probabilities.
The lower and upper bounds can be any value and the lower bound must be less than the upper bound. The result will be integers in the range low x < high. The shape can be either an integer or a vector of integers where all the values are greater than zero. The default value of one will produce a scalar output.
low | in | Lower bound | |
Allowed: | integer | ||
Default: | -1.0 | ||
high | in | Upper bound | |
Allowed: | integer | ||
Default: | 1.0 | ||
shape | in | Shape of the output array | |
Allowed: | integer or a vector of integers | ||
Default: | 1 |