You are here: CalculatorsRandomNumberGenerator

RandomNumberGenerator

Generates a uniformly distributed random number.

The random number is x, where Minimum Value <= x <= Maximum Value.

Parameters

Usage Notes

RandomNumberGenerator generates random numbers using the Tcl rand() function. The numbers generated by this function may not be considered truly random, because rand() requires an initial seed value, which determines the sequence of numbers that is generated. There are no more than 2^31 possible random number sequences, and these sequences repeat after 2^31 times. The same seed value, used repeatedly, generates the same numbers. Additionally, the sequence, by design, never produces the same number twice in a row.

Editing Transformer Parameters

Using a set of menu options, transformer parameters can be assigned by referencing other elements in the workspace. More advanced functions, such as an advanced editor and an arithmetic editor, are also available in some transformers. To access a menu of these options, click beside the applicable parameter. For more information, see Transformer Parameter Menu Options.

Transformer Categories

Calculators

Technical History

Associated FME function or factory: @Evaluate, @Tcl2

 

Search FME Knowledge Center

Search for samples and information about this transformer on the FME Knowledge Center.