FunctionMathIntegrate(FuncDouble, Double, Interval, IntegrationSettings) Method

Evaluates a definite integral with the given evaluation settings.

Definition

Namespace: Meta.Numerics.Analysis
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static IntegrationResult Integrate(
	Func<double, double> integrand,
	Interval range,
	IntegrationSettings settings
)

Parameters

integrand  FuncDouble, Double
The function to be integrated.
range  Interval
The range of integration.
settings  IntegrationSettings
The settings which control the evaluation of the integral.

Return Value

IntegrationResult
The result of the integral.

Remarks

Exceptions

ArgumentNullExceptionThe integrand is .
NonconvergenceExceptionThe maximum number of function evaluations was exceeded before the integral could be determined to the required precision.

See Also