Loading

RANDPDF

math statistics

Pushes on the stack a function which emits values according to a provided value histogram.

The result if a function pushed onto the stack. This function does not have any arguments.

To use the function pushed by RANDPDF onto the stack, use EVAL.

RANDPDF is available since version 1.0.7.

See also

Signatures

Examples

{ 0 2 1 1 2 1 } RANDPDF 'p' STORE $p EVAL $p EVAL $p EVAL $p EVAL