Click or drag to resize
FunctionMathIntegrate Method (FuncDouble, Double, Interval)
Evaluates a definite integral.

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

Parameters

integrand
Type: SystemFuncDouble, Double
The function to be integrated.
range
Type: Meta.NumericsInterval
The range of integration.

Return Value

Type: Double
A numerical estimate of the given 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