Random Numeric
Generates a random numeric value in a range, using a uniform distribution. The range is specified with two inputs: minimum and maximum. These inputs can be numbers, vectors, tuples or arrays of these. If one input has a higher dimension than the other, then the input with lower dimension will be repeated to match the dimension of the other input (broadcasting).
Installation
To use this Node, you must enable omni.graph.nodes
in the Extension Manager.
Inputs
Name |
Type |
Description |
Default |
---|---|---|---|
execIn |
|
The input execution port to output a new random value |
|
Seed (seed) |
|
The seed of the random generator. |
|
Use seed? (useSeed) |
|
Use the custom seed instead of a random one? |
False |
Minimum (min) |
|
The minimum of the random range (inclusive). Can be a number, vector, tuple, or array of these. |
|
Maximum (max) |
|
The maximum of the random range, inclusive of integral numbers exclusive for real numbers. Can be a number, vector, tuple, or array of these. |
Outputs
Name |
Type |
Description |
Default |
---|---|---|---|
Random Numeric (random) |
|
The random numeric value that was generated |
|
execOut |
|
The output execution port |