The OpenD Programming Language

betaVar

$(WIKI_D Beta).

betaVar
(
T
)
(
in T a
,
in T b
)

Return Value

Type: BetaVariable!T

X ~ Beta(𝝰, 𝞫)

Examples

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

Meta