NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Subroutine qawc computes the Cauchy principal value. More...
Subroutine qawc computes the Cauchy principal value.
where .
[in] | f | The function to integrate |
[in] | a | (real) lower limit of integration |
[in] | b | (real) upper limit of integration |
[in] | c | (real) Point where lies the singularity |
[in] | args | (real, array, optional) extra arguments (if needed) to be passed to the function f |
[out] | IntVal | (same kind as f ) Approximation to integral |
[in] | epsabs | (real, optional) Absolute accuracy requested. Default = 1.e-7 |
[in] | epsrel | (real, optional) Relative accuracy requested. Default = 1.e-5 |
[out] | abserr | (real, optional) Estimation of absolute error achieved |
[out] | neval | (integer, optional) Number of function evaluations performed |
[out] | ier | (integer, optional) Error code |
[in,out] | info | (optional) Information and workspace. Must be of type d_qp_extra for integration of real functions and of type c_qp_extra for integration of complex functions. |