IntegrationRule.Evaluate Method

Definition

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

Overload List

Evaluate(Func<Double, Double>, Interval) Evaluates the rule for the specified function and interval.
Evaluate(Func<Double, Double>, Interval, ParallelOptions) Evaluates the rule for the specified function and interval.

Evaluate(Func<Double, Double>, Interval)

Evaluates the rule for the specified function and interval.
C#
public virtual IntegrationRuleResult Evaluate(
	Func<double, double> f,
	Interval interval
)

Parameters

f  Func<Double, Double>
The function to integrate.
interval  Interval
The interval over which to perform the integration.

Return Value

IntegrationRuleResult
A IntegrationRuleResult structure that contains the result of the evaluation.

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

Evaluates the rule for the specified function and interval.
C#
public abstract IntegrationRuleResult Evaluate(
	Func<double, double> f,
	Interval interval,
	ParallelOptions? parallelOptions
)

Parameters

f  Func<Double, Double>
The function to integrate.
interval  Interval
The interval over which to perform the integration.
parallelOptions  ParallelOptions
A ParallelOptions object that specifies how the calculation should be parallelized.

Return Value

IntegrationRuleResult
A IntegrationRuleResult structure that contains the result of the evaluation.

See Also