Random Gaussian
Generates a random numeric value using a Gaussian (i.e. normal) distribution. The shape can be controlled with two inputs: “Mean” and “Standard Deviation.” 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 the lower dimension will be repeated to match the dimension of the other input (broadcasting).
Installation
To use this node enable omni.graph.nodes in the Extension Manager.
Inputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec In (inputs:execIn) |
|
Signal to the graph that this node is ready to be executed. |
None |
Is noise function (inputs:isNoise) |
|
Turn this node into a noise generator function. For a given seed, it will always output the same number(s). |
False |
Metadata |
hidden = true |
||
Metadata |
literalOnly = 1 |
||
Mean (inputs:mean) |
|
The mean of the normal distribution. Can be a number, vector, tuple, or array of these. The default value is double 0. |
None |
Seed (inputs:seed) |
|
The input seed value for the random number generator. |
None |
Standard Deviation (inputs:stdev) |
|
The standard deviation of the normal distribution. Can be a number, vector, tuple, or array of these. The default value is double 1. |
None |
Use log-normal (inputs:useLog) |
|
Use a log-normal distribution instead of the standard normal distribution. |
False |
Use seed (inputs:useSeed) |
|
Use the custom seed instead of a random one. |
False |
Outputs
Name |
Type |
Descripton |
Default |
---|---|---|---|
Exec Out (outputs:execOut) |
|
Signal to the graph that execution can continue downstream. |
None |
Random Gaussian (outputs:random) |
|
The random Gaussian value that was generated. |
None |
State
Name |
Type |
Descripton |
Default |
---|---|---|---|
Gen (state:gen) |
|
Random number generator internal state. Not an actual matrix, the structure was chosen because it was large enough to hold the internal data required for the computation. |
None |
Metadata
Name |
Value |
---|---|
Unique ID |
omni.graph.nodes.RandomGaussian |
Version |
1 |
Extension |
omni.graph.nodes |
Has State? |
True |
Implementation Language |
C++ |
Default Memory Type |
cpu |
Generated Code Exclusions |
None |
uiName |
Random Gaussian |
Categories |
math:operator |
Generated Class Name |
OgnRandomGaussianDatabase |
Python Module |
omni.graph.nodes |