Random Gaussian#

Generates a random numeric value using a Gaussian (aka 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 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

execution

The input execution port to output a new random value

Seed (seed)

uint64

The seed of the random generator.

Use seed? (useSeed)

bool

Use the custom seed instead of a random one?

False

Mean (mean)

decimals

The mean of the normal distribution. Can be a number, vector, tuple, or array of these.

Standard Deviation (stdev)

decimals

The standard deviation of the normal distribution. Can be a number, vector, tuple, or array of these.

Use log-normal? (useLog)

bool

Use a log-normal distribution instead?

False

Outputs#

Name

Type

Description

Default

Random Gaussian (random)

decimals

The random Gaussian value that was generated

execOut

execution

The output execution port