See this as a jupyter-book here
https://cpraveen.github.io/chebpy
These examples are based on the book
L. N. Trefethen, Spectral Methods in MATLAB, SIAM.
I have rewritten these codes in Python and added more examples.
I have some slides which I use for teaching along with this code, get them here.
You can get the codes and run them on your own computer
git clone https://github.com/cpraveen/chebpy
cd chebpy
jupyter-labFor nbviewer links to these files, see here
https://cpraveen.github.io/teaching/chebpy.html
Matlab versions of the code are available here
https://github.com/cpraveen/spectral_matlab
Install
conda install jupyter-book ghp-importBuild html and publish
git clone git@github.com:cpraveen/chebpy
jb build chebpy
cd chebpy
ghp-import -n -p -f _build/htmlThe above does not work anymore, use this
git clone git@github.com:cpraveen/chebpy
cd chebpy
myst build --html --execute
ghp-import -n -p -f _build/html