column of the third row of <code>y</code>. The form <code>y[3, 1]</code> is the
preferred form (see <a href="#array-index-style.section">note</a> in this chapter).</p>
</div>
<div id="assigning" class="section level3 unnumbered">
<h3>Assigning</h3>
<p>Subarrays may be manipulated and assigned just like any other
variables. Similar to the behavior of matrices, Stan allows blocks
such as</p>
<pre class="stan"><code>array[9, 10, 11] real w;
array[10, 11] real x;
array[11] real y;
real z;
// ...
x = w[5];
y = x