Click or drag to resize

QawcIntegrationIntegrate(FuncDouble, Double, Double, Double, Double, Double, Double, Int32, Boolean, Double, Double) Method

Compute the Cauchy principal value of the integral of f over the interval (a, b) with a singularity at c. This overload allows specifying the debug flag for the call.

Namespace: Altaxo.Calc.Integration
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public GSL_ERROR? Integrate(
	Func<double, double> f,
	double a,
	double b,
	double c,
	double epsabs,
	double epsrel,
	int limit,
	bool debug,
	out double result,
	out double abserr
)

Parameters

f  FuncDouble, Double
Function to integrate.
a  Double
Lower integration limit.
b  Double
Upper integration limit.
c  Double
Location of the integrable singularity (must not equal a or b).
epsabs  Double
Absolute error tolerance. Set to zero to rely on relative tolerance.
epsrel  Double
Relative error tolerance. Set to zero to rely on absolute tolerance.
limit  Int32
Maximum number of subintervals allowed.
debug  Boolean
Debug flag for this function call. If true, exceptions may be thrown on failure.
result  Double
On return, contains the integration result.
abserr  Double
On return, contains the estimated absolute error of the result.

Return Value

GSL_ERROR
Null if successful; otherwise a GSL_ERROR describing the error.
See Also