| NuMFor cf0f85d (2025-09-27)
    Numerical (Modern) Fortran. Library for Simple Numerical computing | 
Subroutine qaws estimates integrals with algebraico-logarithmic endpoint singularities given by the weight function 
Subroutine qaws estimates integrals with algebraico-logarithmic endpoint singularities given by the weight function 
![\[ I= \int_{a}^{b} f(x) W(x) dx \]](form_54.png)
| [in] | f | The function to integrate | 
| [in] | a | (real) lower limit of integration | 
| [in] | b | (real) upper limit of integration | 
| [in] | alfa | (real) parameter of the weight function | 
| [in] | beta | (real) parameter of the weight function | 
| [in] | flgw | (integer) flag indicating the kind of weight function used: 
 | 
| [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. |