<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><divclass="block"><divclass="block"><spanclass="token annotation builtin">@</span><ahref="../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><spanclass="token annotation builtin">UnstableKMathAPI</span></a></div></div><spanclass="token keyword">class </span><ahref="index.html">SimpsonIntegrator</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator"> : </span><ahref="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><spanclass="token operator">></span><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter "><spanclass="token keyword">val </span>algebra<spanclass="token operator">: </span><ahref="../../../kmath-core/space.kscience.kmath.operations/-field/index.html">Field</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span> : <ahref="../-integrator/index.html">Integrator</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="../-univariate-integrand/index.html">UnivariateIntegrand</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span><spanclass="token operator">></span><spanclass="clearfix"><spanclass="floating-right">(<ahref="https://github.com/SciProgCentre/kmath/tree/master/kmath-functions/src/commonMain/kotlin/space/kscience/kmath/integration/SimpsonIntegrator.kt#L22">source</a>)</span></span></div><pclass="paragraph">Use double pass Simpson rule integration with a fixed number of points. Requires <ahref="../-univariate-integrand-ranges/index.html">UnivariateIntegrandRanges</a> or <ahref="../-integration-range/index.html">IntegrationRange</a> and <ahref="../-integrand-max-calls/index.html">IntegrandMaxCalls</a>.</p><ul><li><pclass="paragraph"><ahref="../-integration-range/index.html">IntegrationRange</a>—the univariate range of integration. By default, uses <codeclass="lang-kotlin">0..1</code> interval.</p></li><li><pclass="paragraph"><ahref="../-integrand-max-calls/index.html">IntegrandMaxCalls</a>—the maximum number of function calls during integration. For non-iterative rules, always uses the maximum number of points. By default, uses 10 points.</p></li></ul></div></div>
</div>
<divclass="tabbedcontent">
<divclass="tabs-section"tabs-section="tabs-section"><buttonclass="section-tab"data-active=""data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY">Members</button><buttonclass="section-tab"data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members & Extensions</button></div>
<divclass="copy-popup-wrapper "><spanclass="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<divclass="title">
<divclass="platform-hinted "data-platform-hinted="data-platform-hinted"><divclass="content sourceset-dependent-content"data-active=""data-togglable=":kmath-functions:dokkaHtmlPartial/commonMain"><divclass="symbol monospace"><spanclass="token keyword">open </span><spanclass="token keyword">override </span><spanclass="token keyword">fun </span><ahref="process.html"><spanclass="token function">process</span></a><spanclass="token punctuation">(</span><spanclass="parameters "><spanclass="parameter ">integrand<spanclass="token operator">: </span><ahref="../-univariate-integrand/index.html">UnivariateIntegrand</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span></span></span><spanclass="token punctuation">)</span><spanclass="token operator">: </span><ahref="../-univariate-integrand/index.html">UnivariateIntegrand</a><spanclass="token operator"><</span><spanclass="token keyword"></span><ahref="index.html">T</a><spanclass="token operator">></span></div><divclass="brief "><pclass="paragraph">Runs one integration pass and return a new <ahref="../-integrand/index.html">Integrand</a> with a new set of features.</p></div></div></div>