Click or drag to resize

QawoIntegrationIntegration Method

Static helper that integrates an oscillatory integral using a reusable temporary storage object.

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,
	OscillatoryTerm oscTerm,
	double omega,
	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.
oscTerm  OscillatoryTerm
Oscillatory term type (sine or cosine).
omega  Double
Angular frequency parameter.
epsabs  Double
Absolute error tolerance.
epsrel  Double
Relative error tolerance.
limit  Int32
Maximum number of subintervals allowed.
result  Double
On return, contains the integration result.
abserr  Double
On return, contains the estimated absolute error of the result.
tempStorage  Object
Reference to an object that may contain a previously created QawoIntegration instance to reuse.

Return Value

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