This subroutine evaluates an integral using Gauss-Chebyshev (CGL/CGR/CG) quadrature for a single variable.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | tag |
{ |
||
| real(kind=rp), | intent(in) | :: | a |
Domain bounds [a, b] |
||
| real(kind=rp), | intent(in) | :: | b |
Domain bounds [a, b] |
||
| integer, | intent(in) | :: | n |
Number of nodes is n+1 |
||
| real(kind=rp), | intent(in), | dimension(0:n) | :: | x |
Nodal coordinates in [-1, 1] |
|
| real(kind=rp), | intent(in), | dimension(0:n) | :: | f |
Value of the function at the nodes |