Parameters
Func<double, Complex> f
The analytic smooth complex function to integrate, defined on the real domain.
double intervalBegin
Where the interval starts, inclusive and finite.
double intervalEnd
Where the interval stops, inclusive and finite.
double targetRelativeError
The expected relative accuracy of the approximation.
Return
Complex
Approximation of the finite integral in the given interval.