IntegrationRule.Evaluate Method

Definition

Namespace: Extreme.Mathematics.Calculus
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

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