0,5);   // illegal
 y = rep_array(1,5);     // illegal
 
 x = y;                  // illegal
 y = x;                  // illegal</code></pre>
<p>If the value being repeated <code>v</code> is a vector (i.e., <code>T</code> is <code>vector</code>),
then <code>rep_array(v,27)</code> is a size 27 array consisting of 27 copies of
the vector <code>v</code>.</p>
<pre><code> vector[5] v;
 vector[5] a[3];
 
 a = rep_array(v,3);  // fill a with copies of v
 a[2,4] = 9.0;        // v[4], a[1,4], a[2,4] unchanged</code