ctor[4] b;
row_vector[4] c;
// ...
a = b; // illegal assignment of vector to array
b = a; // illegal assignment of array to vector
a = c; // illegal assignment of row vector to array
c = a; // illegal assignment of array to row vector</code></pre>
</div>
<div id="mixing-row-and-column-vectors" class="section level4 unnumbered">
<h4>Mixing row and column vectors</h4>
<p>It is not even legal to assign row vectors to column vectors or vice
versa.</p>
<pre class="stan"><code>vector[4] b;
row_vector[4] c;
// ...