Click or drag to resize

QawcIntegrationIntegration(FuncDouble, Double, Double, Double, Double, Double, Double, Int32, Double, Double, Object) Method

Static helper that computes the Cauchy principal value of the integral of f over (a, b) with a singularity at c, using a supplied temporary storage object to reuse the algorithm instance. This overload uses the instance default debug setting.

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

Parameters

f  FuncDouble, Double
Function to integrate.
a  Double
Lower integration limit.
b  Double
Upper integration limit.
c  Double
Location of the integrable singularity.
epsabs  Double
Absolute error tolerance.
epsrel  Double
Relative error tolerance.
limit  Int32
Maximum number of subintervals.
result  Double
On return, contains the integration result.
abserr  Double
On return, contains the estimated absolute error.
tempStorage  Object
Reference to an object that may contain a previously created QawcIntegration instance to reuse.

Return Value

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