rm is a kind of "swap-out average" where the <code>i</code>-th
element has been replaced by the leave-<code>i</code>-out Geometric-average.</p>
<p>This implementation prefers numerical precision over efficiency, i.e.,
<code>O(num_draws * num_batch_draws * prod(batch_shape) * prod(event_shape))</code>.
(The constant may be fairly large, perhaps around 12.)</p>
    <h2 class="hasAnchor" id="references"><a class="anchor" href="#references"></a>References</h2>

    

<ul>
<li><p><a href='https://arxiv.org/abs/1