div id="type-inference" class="section level2">
<h2><span class="header-section-number">6.10</span> Type Inference</h2>
<p>Stan is strongly statically typed, meaning that the implementation
type of an expression can be resolved at compile time.</p>
<div id="implementation-types" class="section level3">
<h3>Implementation Types</h3>
<p>The primitive implementation types for Stan are</p>
<pre><code>int, real, vector, row_vector,  matrix.</code></pre>
<p>Every basic declared type corresponds to a primitive typ