Integration Rule<T>.Evaluate Method
Definition
Namespace: Numerics.NET.Calculus.Generic
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Assembly: Numerics.NET.Generic (in Numerics.NET.Generic.dll) Version: 9.0.3
Overload List
Evaluate( | Evaluates the rule for the specified function and interval. |
Evaluate( | Evaluates the rule for the specified function and interval. |
Evaluate(Func<T, T>, Interval<T>)
Evaluates the rule for the specified function and interval.
public virtual IntegrationRuleResult<T> Evaluate(
Func<T, T> f,
Interval<T> interval
)
Parameters
- f Func<T, T>
- The function to integrate.
- interval Interval<T>
- The interval over which to perform the integration.
Return Value
IntegrationRuleResult<T>A IntegrationRuleResult structure that contains the result of the evaluation.
Evaluate(Func<T, T>, Interval<T>, ParallelOptions)
Evaluates the rule for the specified function and interval.
public abstract IntegrationRuleResult<T> Evaluate(
Func<T, T> f,
Interval<T> interval,
ParallelOptions? parallelOptions
)
Parameters
- f Func<T, T>
- The function to integrate.
- interval Interval<T>
- The interval over which to perform the integration.
- parallelOptions ParallelOptions
- A ParallelOptions object that specifies how the calculation should be parallelized.
Return Value
IntegrationRuleResult<T>A IntegrationRuleResult structure that contains the result of the evaluation.