Function
NumCosmoMathSpectralchebyshev_integrate
Declaration [src]
gdouble
ncm_spectral_chebyshev_integrate (
GArray* c,
gdouble a,
gdouble b
)
Description [src]
Integrates the series over its interval, from $\int_{-1}^{1} T_k(s)\,\mathrm{d}s = 2/(1 - k^2)$
for even $k$ and zero for odd $k$. Applied to the coefficients of
ncm_spectral_compute_chebyshev_coeffs() or its adaptive variants, this is Clenshaw-Curtis quadrature.