 class="bi"></i></button></pre></div>
<p>In addition to promoting <code>int</code> to <code>real</code>, Stan also promotes <code>real</code> to <code>complex</code>, and by transitivity, <code>int</code> to <code>complex</code>. This also works for containers, so an array of <code>int</code> may be assigned to an array of <code>real</code> of the same shape. And we can also promote <code>vector</code> to <code>complex_vector</code> and similarly for row vectors and matrices.</p>
</section>
<section id="pro