The OpenD Programming Language

BetaVariable

$(WIKI_D Beta).

Constructors

this
this(T a, T b)

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;

Return Value

X ~ Beta(𝝰, 𝞫)

Examples

auto rv = betaVariable(2.0, 5);
static assert(isRandomVariable!(typeof(rv)));
import mir.random.engine;
auto x = rv(rne);

Meta