Skip to main content

Module spectral_methods

Module spectral_methods 

Source
Expand description

Spectral methods for numerical analysis and physics simulations.

Provides Chebyshev and Legendre polynomial evaluation, Gauss quadrature nodes and weights, Cooley-Tukey FFT/IFFT, pseudo-spectral differentiation, Chebyshev collocation for 1D boundary value problems, and Haar wavelet multi-level decomposition/reconstruction.

Structsยง

ChebyshevCollocation
Chebyshev collocation method for 1D boundary value problems.
ChebyshevPolynomial
Chebyshev polynomials of the first kind: T_n(x).
FourierSeries
Discrete Fourier Transform and spectral utilities.
LegendrePolynomial
Legendre polynomials P_n(x) and Gauss-Legendre quadrature.
SpectralDiff
Pseudo-spectral differentiation and related operations.
WaveletTransform
Haar wavelet multi-level decomposition and reconstruction.