GaussIntegrator

A simple one-pass integrator based on Gauss rule Following integrand features are accepted:

Constructors

Link copied to clipboard
constructor(algebra: Field<T>)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard

A shortcut method to integrate a function with additional features. Range must be provided in features. The function is placed in the end position to allow passing a lambda.

A shortcut method to integrate a function in range with additional features. The function is placed in the end position to allow passing a lambda.

A shortcut method to integrate a function in range with additional features. The function is placed in the end position to allow passing a lambda.

fun <T : Any> GaussIntegrator<T>.integrate(range: ClosedRange<Double>, order: Int = 10, intervals: Int = 10, vararg features: IntegrandFeature, function: (Double) -> T): UnivariateIntegrand<T>

Integrate using intervals segments with Gauss-Legendre rule of order order.

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

Link copied to clipboard