" class="level2">
<h2 class="anchored" data-anchor-id="complex-matrices-and-vectors">Complex matrices and vectors</h2>
<p>Stan supports complex matrices, vectors, and row vectors. Variables of these types are declared with sizes in the same way as their real-based counterparts.</p>
<div class="sourceCode" id="cb9"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><span id="cb9-1"><a href="#cb9-1" aria-hidden="true" tabindex="-1"></a><span class="dt">complex_vector</span>[<span class=