You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h3number="9.3.2"><spanclass="header-section-number">9.3.2</span> Call to the 1D Integrator</h3>
718
718
<!-- vector; integrate_1d; (function integrand, real a, real b, real[] theta, real[] x_r, int[] x_i); -->
719
-
<p></p>
720
-
<p><code>vector</code><strong><code>integrate_1d</code></strong><code>(function integrand, real a, real b, real[] theta, real[] x_r, int[] x_i)</code><br>
721
-
Integrates the integrand from a to b.</p>
722
719
<!-- vector; integrate_1d; (function integrand, real a, real b, real[] theta, real[] x_r, int[] x_i), real relative_tolerance); -->
723
720
<p></p>
724
721
<p><code>vector</code><strong><code>integrate\_1d</code></strong><code>(function integrand, real a, real b, real[] theta, real[] x_r, int[] x_i, real relative_tolerance)</code><br>
<li><em><code>theta</code></em>: parameters only, type <code>real[]</code>,</li>
752
749
<li><em><code>x_r</code></em>: real data only, type <code>real[]</code>,</li>
753
750
<li><em><code>x_i</code></em>: integer data only, type <code>int[]</code>.</li>
754
-
</ul>
755
-
<p>A <code>relative_tolerance</code> argument can also be provided for more control over the algorithm:</p>
756
-
<ul>
757
-
<li><em><code>relative_tolerance</code></em>: relative tolerance for the 1d integrator, type <code>real</code>, data only.</li>
751
+
<li><em><code>relative_tolerance</code></em>: relative tolerance for the 1d integrator (recommended default of 1e-8), type <code>real</code>, data only.</li>
0 commit comments