Click or drag to resize

FunctionMath.Integrate Method (Func<Double, Double>, Interval)

Evaluates a definite integral.

Namespace:  Meta.Numerics.Analysis
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public static IntegrationResult Integrate(
	Func<double, double> integrand,
	Interval range
)

Parameters

integrand
Type: System.Func<Double, Double>
The function to be integrated.
range
Type: Meta.Numerics.Interval
The range of integration.

Return Value

Type: IntegrationResult
The result of the integral.
Exceptions
ExceptionCondition
ArgumentNullExceptionThe integrand is null.
NonconvergenceExceptionThe maximum number of function evaluations was exceeded before the integral could be determined to the required precision.
Remarks
See Also