essions.section">Vector, Matrix, and Array Expressions</a>.</p>
<div id="declaring-array-variables" class="section level3 unnumbered">
<h3>Declaring array variables</h3>
<p>Arrays are declared with the keyword <code>array</code> followed by the dimensions
enclosed in square brackets, the element type, and the name of the variable.</p>
<p>The variable <code>n</code> is declared as an array of five integers as follows.</p>
<pre class="stan"><code>array[5] int n;</code></pre>
<p>A two-dimensional array of real