QawcIntegrationIntegration(FuncDouble, Double, Double, Double, Double, Double, Double, Int32, Boolean, 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.
Namespace: Altaxo.Calc.IntegrationAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic static GSL_ERROR? Integration(
Func<double, double> f,
double a,
double b,
double c,
double epsabs,
double epsrel,
int limit,
bool debug,
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.
- debug Boolean
- Debug flag for this call.
- 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_ERRORNull if successful; otherwise a
GSL_ERROR describing the error.
See Also