tuple_randπ
Short descriptionπ
tuple_rand β Return a tuple of random numbers between 0 and 1.
Signatureπ
tuple_rand( number Length, out number Rand )
Descriptionπ
tuple_rand returns a tuple of random numbers distributed
uniformly in the interval [0,1). The parameter Length
specifies the length of the output tuple, i.e., how many random
numbers are generated.
The random numbers are generated using the C function βdrand48()β.
See the parameter 'seed_rand' of set_system for
information on the used random seed.
HDevelop In-line Operationπ
HDevelop provides an in-line operation for tuple_rand,
which can be used in an expression in the following syntax:
Rand := rand(Length)
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
Length (input_control) number β (integer)
Length of tuple to generate.
Rand (output_control) number(-array) β (real)
Tuple of random numbers.
Combinations with other operatorsπ
Moduleπ
Foundation