teger">
<h3>In <a class="reference internal" href="#f/spral_random/random_integer" title="f/spral_random/random_integer"><code class="xref f f-func docutils literal notranslate"><span class="pre">random_integer()</span></code></a><a class="headerlink" href="#in-random-integer" title="Link to this heading"></a></h3>
<p>Samples from <span class="math notranslate nohighlight">\(\mathrm{Unif}(1,\ldots,n)\)</span> are generated as</p>
<div class="math notranslate nohighlight">
\[\mathrm{int}\left(X_n\frac{\ma