></pre>
<p>If the type T of x is itself an array type, then the result will be an
array with one, two, or three added dimensions, depending on which of
the <code>rep_array</code> functions is called. For instance, consider the
following legal code snippet.</p>
<pre><code> real a[5,6];
 real b[3,4,5,6];
 
 b = rep_array(a,3,4); //  make (3 x 4) copies of a
 b[1,1,1,1] = 27.9;    //  a[1,1] unchanged</code></pre>
<p>After the assignment to <code>b</code>, the value for <code>b[j,k,m,n]</code> is equal to
<cod