Click or drag to resize

FunctionMathIntegrate Method (FuncDouble, Double, Interval, IntegrationSettings)

Evaluates a definite integral with the given evaluation settings.

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,
	IntegrationSettings settings
)

Parameters

integrand
Type: SystemFuncDouble, Double
The function to be integrated.
range
Type: Meta.NumericsInterval
The range of integration.
settings
Type: Meta.Numerics.AnalysisIntegrationSettings
The settings which control the evaluation of the integral.

Return Value

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