The OpenD Programming Language

ExtremeValueVariable

$(WIKI_D2 Generalized_extreme_value, Extreme value).

Constructors

this
this(T location, T scale)

Members

Functions

opCall
T opCall(G gen)
T opCall(G* gen)

Manifest constants

isRandomVariable
enum isRandomVariable;

Variables

max
enum T max;
min
enum T min;

Examples

auto rv = extremeValueVar;
static assert(isRandomVariable!(typeof(rv)));
import mir.random.engine;
auto x = rv(rne);
import mir.random.engine;
Random* gen = threadLocalPtr!Random;
auto rv = ExtremeValueVariable!double(0, 1);
auto x = rv(gen);

Meta