betaVar

$(WIKI_D Beta).

  1. struct BetaVariable(T)
  2. BetaVariable!T betaVar(T a, T b)
    betaVar
    (
    T
    )
    (
    in T a
    ,
    in T b
    )
    if (
    isFloatingPoint!T
    )
  3. alias betaVariable = betaVar

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