
<p>The <code>integrate_1d</code> function requires</p>
<ul>
<li><p>its first argument to refer to a function wth signature
<code>(real, real, real[], real[], int[]) : real</code>,</p></li>
<li><p>the remaining six arguments are assignable to types
<code>real</code>, <code>real</code>, <code>real[]</code>, <code>real[]</code>, and <code>int[]</code>, and</p></li>
<li><p>the fourth and fifth arguments must be expressions not containing
any variables not originating in the data or transformed data blocks.</p>