The OpenD Programming Language

Flex.opCall

Sample a value from the distribution.

struct Flex(S, Pdf)
S
opCall
(
RNG
)
(
ref RNG rng
)

Parameters

rng RNG

random number generator to use

Return Value

Type: S

Array of length n with the samples

Meta