IntegrationRule.Evaluate Method

Definition

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

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>, Double, Double) Evaluates the rule for the specified function and interval.
Evaluate(Func<Double, Double>, Double, Double, 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.

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

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

Parameters

f  Func<Double, Double>
The function to integrate.
lowerBound  Double
The lower bound of the integration interval.
upperBound  Double
The upper bound of the integration interval.

Return Value

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

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

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

Parameters

f  Func<Double, Double>
The function to integrate.
lowerBound  Double
The lower bound of the integration interval.
upperBound  Double
The upper bound of the integration interval.
parallelOptions  ParallelOptions
 

Return Value

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

See Also