omplex-types" class="section level3 unnumbered">
<h3>Complex types</h3>
<p>Stan provides a complex number data type <code>complex</code>, where a complex
number contains both a real and an imaginary component, both of which
are of type <code>real</code>. Complex types are considered scalar types.</p>
</div>
<div id="vector-and-matrix-types" class="section level3 unnumbered">
<h3>Vector and matrix types</h3>
<p>Stan provides three real-valued matrix data types, <code>vector</code> for column
vectors, <code>r