The OpenD Programming Language

logNormalVariable

$(WIKI_D Log-normal).

import mir.random.variable;
alias logNormalVariable = logNormalVar

Examples

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

Meta