CERN home page CERN home page Consult pages Consult pages Writeups at CERN Writeups at CERN Garfield pages Garfield pages Help Help Call Call PREPARE_RND_FUNCTION PREPARE_RND_FUNCTION Search Keyword index

Call: PREPARE_RND_FUNCTION


function

This argument, of type String contains the function according to which random numbers are to be generated.

The function should use X as variable. If the function does not depend on X, then RND_UNIFORM is a more appropriate random number generator to use.

The function is allowed to be zero at individual points, but must not be negative anywhere over the specified range.

[No default, this is a mandatory argument.]


range

With xmin and xmax, you indicate the smallest and largest random number that RND_FUNCTION will generate.

Both are Numbers.

[No default, these arguments are mandatory.]


Go to the top level, to Call, to PREPARE_RND_FUNCTION, to the topic index, to the table of contents, or to the full text.

Formatted on 09/03/10 at 00:22.