id="index-entry-f7478aca325aa138c901aac6630912e23ca8a779" class="index-entry"></a> <!-- R; gamma_rng; (reals alpha, reals beta); -->
<p></p>
<p><code>R</code> <strong><code>gamma_rng</code></strong><code>(reals alpha, reals beta)</code><br> Generate a gamma variate with shape alpha and inverse scale beta; may only be used in transformed data and generated quantities blocks. For a description of argument and return types, see section <a href="../functions-reference/conventions_for_probability_functions.html#