SimpsonIntegrator
class SimpsonIntegrator<T : Any>(algebra: Field<T>) : Integrator<UnivariateIntegrand<T>>
Content copied to clipboard
Use double pass Simpson rule integration with a fixed number of points. Requires UnivariateIntegrandRanges or IntegrationRange and IntegrandMaxCalls.
IntegrationRange—the univariate range of integration. By default, uses
0..1
interval.IntegrandMaxCalls—the maximum number of function calls during integration. For non-iterative rules, always uses the maximum number of points. By default, uses 10 points.
Constructors
Functions
Link copied to clipboard
open override fun process(integrand: UnivariateIntegrand<T>): UnivariateIntegrand<T>
Content copied to clipboard
Runs one integration pass and return a new Integrand with a new set of features.