DoubleSimpsonIntegrator

object DoubleSimpsonIntegrator : Integrator<UnivariateIntegrand<Double>>

Use double pass Simpson rule integration with a fixed number of points. Requires UnivariateIntegrandRanges or IntegrationRange and IntegrandMaxCalls.

  • IntegrationRange&mdash;the univariate range of integration. By default, uses 0.0..1.0 interval.

  • IntegrandMaxCalls&mdash;the maximum number of function calls during integration. For non-iterative rules, always uses the maximum number of points. By default, uses 10 points.

Functions

process
Link copied to clipboard
open override fun process(integrand: UnivariateIntegrand<Double>): UnivariateIntegrand<Double>
Runs one integration pass and return a new Integrand with a new set of features.

Sources

common source
Link copied to clipboard