Certain

Certain(U)

Returns the value of «U».

Certain is considered to be a distribution function -- the distribution in which one outcome is certain. Therefore, its return value is different depending on whether it is evaluated in Mid-mode or Sample-mode. In Mid-mode, «U» is returned unchanged. In Sample-mode, the Run-index is added to «U» if not already there, so that the result is a sample (where every sample point is the same value).

Examples

When evaluated in Mid-mode:

Certain( 25 ) → 25

When evaluated in Sample-mode:

Certain( 25 ) →