Click or drag to resize

QawfIntegrationIntegration Method

Static helper that integrates a Fourier-type 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,
	OscillatoryTerm oscTerm,
	double omega,
	double epsabs,
	int limit,
	out double? result,
	out double? abserr,
	ref Object?? tempStorage
)

Parameters

f  FuncDouble, Double
Function to integrate.
a  Double
Lower integration limit.
oscTerm  OscillatoryTerm
Oscillatory term type (sine or cosine).
omega  Double
Angular frequency parameter.
epsabs  Double
Absolute error tolerance.
limit  Int32
Maximum number of iterations/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 QawfIntegration instance to reuse.

Return Value

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