NuMFor 9f2ab49 (2024-04-08)
Numerical (Modern) Fortran. Library for Simple Numerical computing
|
Subroutine qcheb computes the coefficients of the Chebyshev series expansion of degrees 12 and 24 of a function using a fast Fourier transform method. More...
Subroutine qcheb computes the coefficients of the Chebyshev series expansion of degrees 12 and 24 of a function using a fast Fourier transform method.
where is the Chebyshev polynomial of degree k.
Reference: Robert Piessens, Elise de Doncker-Kapenger, Christian Ueberhuber, David Kahaner, QUADPACK, a Subroutine Package for Automatic Integration, Springer Verlag, 1983. (Section 2.2.3.2)
[in] | x | (real, dimension(11)) values of , for |
[in,out] | fval | (real or complex, dimension(25)) |
[out] | cheb12 | (real or complex) the Chebyshev coefficients for degree 12 |
[out] | cheb24 | (real or complex) the Chebyshev coefficients for degree 24 |