ClassesClassesClassesClasses | | | | Operators

tuple_randtuple_randTupleRandtuple_randTupleRandTupleRand (Operator)

Name

tuple_randtuple_randTupleRandtuple_randTupleRandTupleRand — Return a tuple of random numbers between 0 and 1.

Signature

tuple_rand( : : Length : Rand)

Herror tuple_rand(const Hlong Length, double* Rand)

Herror T_tuple_rand(const Htuple Length, Htuple* Rand)

Herror tuple_rand(const HTuple& Length, double* Rand)

Herror tuple_rand(const HTuple& Length, HTuple* Rand)

void TupleRand(const HTuple& Length, HTuple* Rand)

static HTuple HTuple::TupleRand(const HTuple& Length)

void HOperatorSetX.TupleRand(
[in] VARIANT Length, [out] VARIANT* Rand)

VARIANT HTupleX.TupleRand([in] VARIANT Length)

static void HOperatorSet.TupleRand(HTuple length, out HTuple rand)

static HTuple HTuple.TupleRand(HTuple length)

Description

tuple_randtuple_randTupleRandtuple_randTupleRandTupleRand returns a tuple of random numbers distributed uniformly in the interval [0,1). The parameter LengthLengthLengthLengthLengthlength specifies the length of the output tuple, i.e., how many random numbers are generated.

HDevelop In-line Operation

HDevelop provides an in-line operation for tuple_randtuple_randTupleRandtuple_randTupleRandTupleRand, which can be used in an expression in the following syntax:

Rand := rand(Length)

Parallelization

Parameters

LengthLengthLengthLengthLengthlength (input_control)  number HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Length of tuple to generate.

RandRandRandRandRandrand (output_control)  number(-array) HTupleHTupleHTupleVARIANTHtuple (real) (double) (double) (double) (double) (double)

Tuple of random numbers.

See also

tuple_gen_consttuple_gen_constTupleGenConsttuple_gen_constTupleGenConstTupleGenConst

Module

Foundation


ClassesClassesClassesClasses | | | | Operators