lpha, \sigma)\)</span> variate truncated below at a time <span class="math inline">\(t\)</span>,<a href="references.html#fn31" class="footnote-ref" id="fnref31"><sup>31</sup></a></p>
<pre><code>real weibull_lb_rng(real alpha, real sigma, real t) {
  real p = weibull_cdf(lt, alpha, sigma);   // cdf for lb
  real u = uniform_rng(p, 1);               // unif in bounds
  real y = sigma * (-log1m(u))^inv(alpha);  // inverse cdf
  return y;
}</code></pre>
</div>
<div id="truncating-above-and-below" class="section