SplineIntegrator

class SplineIntegrator<T : Comparable<T>>(algebra: Field<T>, bufferFactory: MutableBufferFactory<T>) : Integrator<UnivariateIntegrand<T>>

A generic spline-interpolation-based analytic integration

  • IntegrationRange&mdash;the univariate range of integration. By default, uses 0..1 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.

Constructors

SplineIntegrator
Link copied to clipboard
fun <T : Comparable<T>> SplineIntegrator(algebra: Field<T>, bufferFactory: MutableBufferFactory<T>)

Functions

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

Properties

algebra
Link copied to clipboard
val algebra: Field<T>
bufferFactory
Link copied to clipboard
val bufferFactory: MutableBufferFactory<T>

Sources

common source
Link copied to clipboard