GaussKronrodRule<T>.Evaluate Method

Definition

Namespace: Numerics.NET.Calculus.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.0

Overload List

Evaluate(Func<T, T>, Interval<T>) Evaluates the rule for the specified function and interval.
Evaluate(Func<T, T>, Interval<T>, ParallelOptions) Numerically integrates a function of one variable.

Evaluate(Func<T, T>, Interval<T>, ParallelOptions)

Numerically integrates a function of one variable.
C#
public override IntegrationRuleResult<T> Evaluate(
	Func<T, T> integrand,
	Interval<T> interval,
	ParallelOptions parallelOptions
)

Parameters

integrand  Func<T, T>
A delegate that represents a function of one variable that represents the function to integrate.
interval  Interval<T>
An Interval that represents the integration interval.
parallelOptions  ParallelOptions
A ParallelOptions object that specifies how the calculation should be parallelized.

Return Value

IntegrationRuleResult<T>
An approximation of the definite integral of integrand over interval.

Remarks

This method scales the integration interval to a standard size and applies the fixed point formula. The difference between the low order Gauss and higher order Kronrod formula is returned as an estimate for the integration error.

No actual iteration is performed. This is a one-step procedure.

See Also