This repository is related to my article Exploring the Pointwise Convergence of Legendre Series for Piecewise Analytic Functions.
legendre_series.pycontains the code for computing the Legendre series and analysing the pointwise convergence.plots.pycontains the code for plotting the results from the computations.scriptsdirectory contains script files for creating the different plots.
Install Miniconda (or Anaconda).
Install Conda environment
conda env create -f environment.yml Activate the environment
source activate legendre36Create the figures
python scripts/run_legendre_polynomials.py
python scripts/run_piecewise_functions.py
python scripts/run_legendre_series.py
python scripts/run_pointwise_convergence.py
python scripts/run_convergence_distance.pyAdditionally, creating the animations requires FFmpeg.
python scripts/run_animation.py