Notebook | What's in it |
---|---|
Arbitrary Domains | This is where I first worked out how to take derivatives of functions over non-canonical domains (i.e. not |
Chebyshev | Usage examples of cheb_deriv , in one and multiple dimensions, including a PDE simulation at the end. |
Chebyshev Antiderivatives | It's easy to take spectral antiderivatives with the Fourier basis by simply dividing by |
Chebyshev Domain Endpoints | Doing L'Hôpital's rule by hand to evaluate the endpoints is tedious and error-prone, so I wanted a way to do it programmatically. This notebook represents a solution. If the user tries to take derivatives over |
DCT Types Comparison | Curious about other variants of the DCT, I did some sampling and reconstruction on a function with varying |
DCT Types Extension Experiments | This is where I worked out exactly how to take derivatives with the DCT-II/III and DST-III rather than the DCT-I and DST-I and poked around to find limitations. The correct path now lives in the math, but the intuition of the limitations best given by example here. |
DFT, DCT, DST Relationship | Explicit formulae and code examples to show how the coefficients of DCT and DST variants are related to DFT coefficients. A mathematical derivation of a couple of these relationships lives in the math, but it's useful to see others too and have a quick reference. |
DFT Play | Due to aliasing, it's possible to find the DFT coefficients with many different combinations of wavenumbers, so long as they cover |
Filtering Noise | |
Fourier | Usage examples of fourier_deriv , in one and multiple dimensions, with an emphasis of when this method will work and when it will break. |
Fourier Periodic Extensions | It's sometimes possible to take even and odd extensions of a function and produce something periodic or nearly periodic, which can then be spectrally differentiated with the Fourier basis. This notebook demonstrates how to do this. |
Stay in x Domain | There is actually a simple derivative rule for a Chebyshev series, analogous to the rule for Power series, and we can exploit it to find spectral derivatives without some of the complicated steps. |
Files
Latest commit
notebooks
Folders and files
Name | Name | Last commit date | ||
---|---|---|---|---|
parent directory.. | ||||