Click or drag to resize

NewtonCotesTrapeziumRuleContourIntegrateTwoPoint Method

Direct 2-point approximation of the definite integral in the provided interval by the trapezium rule.

Namespace: Altaxo.Calc.Integration
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Complex ContourIntegrateTwoPoint(
	Func<double, Complex> f,
	double intervalBegin,
	double intervalEnd
)

Parameters

f  FuncDouble, Complex
The analytic smooth complex function to integrate, defined on real domain.
intervalBegin  Double
Where the interval starts, inclusive and finite.
intervalEnd  Double
Where the interval stops, inclusive and finite.

Return Value

Complex
Approximation of the finite integral in the given interval.
See Also