studentTVariable

$(WIKI_D Student's_t).

  1. struct StudentTVariable(T)
  2. StudentTVariable!T studentTVar(T nu)
  3. alias studentTVariable = studentTVar
    alias studentTVariable = studentTVar

Examples

auto rv = studentTVar(10.0);
static assert(isRandomVariable!(typeof(rv)));
import mir.random.engine;
auto x = rv(rne);
import mir.random.engine;
Random* gen = threadLocalPtr!Random;
auto rv = StudentTVariable!double(10);
auto x = rv(gen);

Meta