s="section level2">
<h2><span class="header-section-number">4.3</span> Array broadcasting</h2>
<p>The following operations create arrays by repeating elements to fill
an array of a specified size. These operations work for all input
types T, including reals, integers, vectors, row vectors, matrices, or
arrays.</p>
<!-- T[]; rep_array; (T x, int n); -->
<p></p>
<p><code>T[]</code> <strong><code>rep_array</code></strong><code>(T x, int n)</code><br>
Return the n array with every entry assigned to x.</p>
<!-- 