Arrays, row vectors, column vectors and matrices are not
interchangeable in Stan. Thus a variable of any one of these
fundamental types is not assignable to any of the others, nor may it
be used as an argument where the other is required (use as arguments
follows the assignment rules).</p>
<div id="mixing-vectors-and-arrays" class="section level4 unnumbered">
<h4>Mixing vectors and arrays</h4>
<p>For example, vectors cannot be assigned to arrays or vice-versa.</p>
<pre class="stan"><code>array[4] real a;
ve