NumericalIntegrator Constructor

Definition

Namespace: Numerics.NET.Calculus
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

NumericalIntegrator

Constructs a new NumericalIntegrator object.
C#
protected NumericalIntegrator()

NumericalIntegrator(Func<Double, Double>, Double, Double)

Constructs a new NumericalIntegrator object.
C#
protected NumericalIntegrator(
	Func<double, double> integrand,
	double lowerBound,
	double upperBound
)

Parameters

integrand  Func<Double, Double>
A delegate that represents a function of one variable that specifies the function to integrate.
lowerBound  Double
The lower limit of the integration interval.
upperBound  Double
The upper limit of the integration interval.

Return Value

An approximation of the definite integral of integrand from lowerBound to upperBound.

Remarks

This method performs the actual numerical integration. After this method returns, inspect the Status property to verify that the algorithm terminated normally.

See Also