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

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

Minimum (min)

numerics

The minimum of the random range (inclusive). Can be a number, vector, tuple, or array of these.

Maximum (max)

numerics

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)

numerics

The random numeric value that was generated

execOut

execution

The output execution port