tions and their inverse, such as <code>sin(z)</code>, <code>acos(z)</code>, <code>tanh(z)</code> and <code>asinh(z)</code>.</p>
<p>Promotion also works for complex-valued function arguments, which may be passed integer or real values, which will be promoted before the function is evaluated. For example, the following user-defined complex function will accept integer, real, or complex arguments.</p>
<div class="sourceCode" id="cb7"><pre class="sourceCode stan code-with-copy"><code class="sourceCode stan"><sp