From 0376155efab4eb440b77c6e1222527314a6a167b Mon Sep 17 00:00:00 2001 From: Praveen C Date: Wed, 11 Dec 2024 10:55:35 +0530 Subject: [PATCH] Update documentation --- ...17bf45160b987608ef059debc3d1ad9c251ed6.svg | 1022 +++++++++++++++++ _sources/front.md | 4 + _sources/p33.ipynb | 3 +- front.html | 4 + p33.html | 9 +- searchindex.js | 2 +- 6 files changed, 1038 insertions(+), 6 deletions(-) create mode 100644 _images/3337fb5caba0d25ed039aa78fd17bf45160b987608ef059debc3d1ad9c251ed6.svg diff --git a/_images/3337fb5caba0d25ed039aa78fd17bf45160b987608ef059debc3d1ad9c251ed6.svg b/_images/3337fb5caba0d25ed039aa78fd17bf45160b987608ef059debc3d1ad9c251ed6.svg new file mode 100644 index 0000000..1902317 --- /dev/null +++ b/_images/3337fb5caba0d25ed039aa78fd17bf45160b987608ef059debc3d1ad9c251ed6.svg @@ -0,0 +1,1022 @@ + + + + + + + + 2024-12-11T10:50:38.341829 + image/svg+xml + + + Matplotlib v3.9.3, https://matplotlib.org/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/_sources/front.md b/_sources/front.md index 9c5a639..8933b0a 100644 --- a/_sources/front.md +++ b/_sources/front.md @@ -26,6 +26,10 @@ Matlab versions of the code are available here +```{important} +In the Matlab codes, the Chebyshev points are ordered from right to left, which can be counter-intuitive to the way we usually think of these problems. In the Python codes, I have ordered them from left to right. However, there may still be some bugs in some codes, so please watch out for them and write to me if you find any mistakes. +``` + ## Table of contents ```{tableofcontents} diff --git a/_sources/p33.ipynb b/_sources/p33.ipynb index 6138ce4..f75c410 100644 --- a/_sources/p33.ipynb +++ b/_sources/p33.ipynb @@ -8,7 +8,8 @@ "\n", "$$\n", "u_{xx} = \\exp(4x)\n", - "$$, \n", + "$$\n", + "\n", "$$\n", "u'(-1)=0, \\qquad u(1)=0\n", "$$" diff --git a/front.html b/front.html index 450eb00..cbe5728 100644 --- a/front.html +++ b/front.html @@ -423,6 +423,10 @@

Spectral MethodsColab

Matlab versions of the code are available here

cpraveen/spectral_matlab

+
+

Important

+

In the Matlab codes, the Chebyshev points are ordered from right to left, which can be counter-intuitive to the way we usually think of these problems. In the Python codes, I have ordered them from left to right. However, there may still be some bugs in some codes, so please watch out for them and write to me if you find any mistakes.

+

Table of contents#

diff --git a/p33.html b/p33.html index f12b1fe..d82377f 100644 --- a/p33.html +++ b/p33.html @@ -397,10 +397,11 @@

p33: Solve linear BVP, Neumann bc \[ u_{xx} = \exp(4x) -$$, \]

-

u’(-1)=0, \qquad u(1)=0 -$$

+
+\[ +u'(-1)=0, \qquad u(1)=0 +\]
diff --git a/searchindex.js b/searchindex.js index 09ac07e..0af543f 100644 --- a/searchindex.js +++ b/searchindex.js @@ -1 +1 @@ -Search.setIndex({"alltitles": {"Exercise": [[1, "exercise"], [1, "id1"]], "Make animation": [[8, "make-animation"], [21, "make-animation"], [30, "make-animation"]], "Repeat with Clenshaw-Curtis": [[31, "repeat-with-clenshaw-curtis"]], "Repeat with Gauss-Legendre": [[31, "repeat-with-gauss-legendre"]], "Spectral Methods": [[0, null]], "Table of contents": [[0, "table-of-contents"]], "p01: Convergence of fourth order finite differences": [[1, null]], "p02: Convergence of periodic spectral method": [[2, null]], "p03: Band-limited interpolation": [[3, null]], "p04: Periodic spectral differentiation": [[4, null]], "p05: Repetition of p04 via FFT": [[5, null]], "p05b: Repetition of p05 via real FFT": [[6, null]], "p05c: Repetition of p05 using scipy.fftpack.diff": [[7, null]], "p06: Variable coefficient wave equation": [[8, null]], "p07: Accuracy of periodic spectral differentiation": [[9, null]], "p08: Eigenvalues of harmonic oscillator": [[10, null]], "p09: Polynomial interpolation in equispaced and chebyshev points": [[11, null]], "p10: Polynomials and corresponding equipotential curves": [[12, null]], "p11: Chebyshev differentiation of a smooth function": [[13, null]], "p12: Accuracy of Chebyshev spectral differentiation": [[14, null]], "p13: Solve linear BVP": [[15, null]], "p14 - Solve nonlinear BVP": [[16, null]], "p15 - Solve eigenvalue BVP": [[17, null]], "p16: Poisson equation in 2-D": [[18, null]], "p17: Helmholtz Equation in 2-D": [[19, null]], "p18: Chebyshev differentiation via FFT": [[20, null]], "p19: Second order Wave Equation on Chebyshev Grid": [[21, null]], "p20: Second order wave equation in 2-D via FFT": [[22, null]], "p21: Eigenvalues of Mathieu operator": [[23, null]], "p22: 5\u2019th eigenvector of Airy equation": [[24, null]], "p23: Eigenvalues of Laplacian in 2-D": [[25, null]], "p23a: Eigenvalues of perturbed Laplacian in 2-D": [[26, null]], "p24: Pseudospectra of Davies\u2019s complex harmonic oscillator": [[27, null]], "p25: Stability regions for ODE formulas": [[28, null]], "p26: Eigenvalues of 2nd order Chebyshev diff. matrix": [[29, null]], "p27: Solve KdV equation": [[30, null]], "p30: Spectral integration, ODE style": [[31, null]], "p32: Solve linear BVP": [[32, null]], "p33: Solve linear BVP, Neumann bc": [[33, null]]}, "docnames": ["front", "p01", "p02", "p03", "p04", "p05", "p05b", "p05c", "p06", "p07", "p08", "p09", "p10", "p11", "p12", "p13", "p14", "p15", "p16", "p17", "p18", "p19", "p20", "p21", "p22", "p23", "p23a", "p24", "p25", "p26", "p27", "p30", "p32", "p33"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinxcontrib.bibtex": 9}, "filenames": ["front.md", "p01.ipynb", "p02.ipynb", "p03.ipynb", "p04.ipynb", "p05.ipynb", "p05b.ipynb", "p05c.ipynb", "p06.ipynb", "p07.ipynb", "p08.ipynb", "p09.ipynb", "p10.ipynb", "p11.ipynb", "p12.ipynb", "p13.ipynb", "p14.ipynb", "p15.ipynb", "p16.ipynb", "p17.ipynb", "p18.ipynb", "p19.ipynb", "p20.ipynb", "p21.ipynb", "p22.ipynb", "p23.ipynb", "p23a.ipynb", "p24.ipynb", "p25.ipynb", "p26.ipynb", "p27.ipynb", "p30.ipynb", "p32.ipynb", "p33.ipynb"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [0, 9, 11, 12, 15, 16, 17, 28, 32, 33], "0": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "00": 10, "000000000000000e": 10, "000000000000737e": 10, "000000000508624e": 10, "000000098410861e": 10, "000024998156542e": 10, "000644066795828e": 10, "006": 30, "01": [10, 11, 12, 29], "02": 31, "039571897981499e": 10, "075": 21, "0e": [9, 14, 16], "0e3": [9, 14], "1": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "10": [3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 29, 30, 31], "100": [2, 8, 20, 25, 26, 28, 31], "1000x1000": [], "105": 1, "106": 28, "10f": 24, "10x": 9, "11": [23, 29, 31], "111": [8, 18, 19, 21, 30], "115": 30, "12": [1, 8, 10, 12, 20, 21, 22, 24, 28, 30], "127": [], "128": 8, "129": [], "12f": [25, 26], "13": 1, "13f": 17, "14": [], "14f": 16, "15": [8, 14, 16, 17, 22, 23, 24], "1541387896": 24, "15e": 10, "16": [9, 11, 12, 14, 15, 16, 22, 25, 26, 28, 30, 32, 33], "160": 28, "17": [], "171605320647185e": 10, "17nf7v3j53jgg4db9vxl40g00000gn": [9, 29], "18": [10, 16, 25, 26, 29, 31], "19": 28, "1910284227": 29, "1e": 31, "1e3": 31, "1e6": 29, "1f": 17, "1j": [5, 6, 8, 12, 22, 27, 28, 30], "2": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 20, 21, 23, 24, 27, 28, 29, 30, 31, 32], "20": [3, 8, 13, 17, 20, 21, 26, 30, 31], "200": [13, 15, 21, 24, 32, 33], "2000": 30, "201": [16, 28], "21": [], "22": [], "220344929": [], "23": 28, "24": [4, 5, 6, 7, 10, 18, 19, 22, 28, 29], "25": [30, 31], "250": [12, 22], "251": 28, "256": 30, "264": 28, "2d": [25, 26], "2nd": 0, "3": [1, 3, 4, 5, 6, 7, 9, 10, 14, 18, 20, 22, 23, 28, 30, 31], "30": [9, 10], "31": 9, "3353260806": [], "35": 17, "3535814397": [], "36": [10, 17], "37": 10, "3d": [8, 18, 19, 21, 22, 30], "3j": 27, "3rd": 14, "4": [1, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 17, 18, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "40": [8, 22, 27], "400": [11, 12], "42": 23, "455935291166790e": 10, "494134621050521e": 10, "4x": [15, 32, 33], "5": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 17, 19, 20, 21, 22, 23, 27, 28, 30, 31], "50": [8, 9, 14, 18, 19, 21, 27, 30, 31], "501": 17, "5e": 1, "5j": 30, "6": [4, 5, 6, 7, 9, 10, 11, 17, 18, 22, 23, 27, 28, 30], "60": [21, 24, 29], "614729169954720e": 10, "641274344": 9, "646": 28, "7": [10, 28], "70": [8, 21, 27], "720": 28, "720916053006558e": 10, "781372812986103e": 10, "8": [1, 8, 10, 12, 13, 18, 19, 21, 24, 28, 29, 31], "80": [21, 30], "883248377834012e": 10, "8x": 18, "9": [9, 10, 12, 14, 19, 24, 28], "924529058119932e": 10, "971891851": [], "992595324407724e": 10, "999700014993121e": 10, "999997965273280e": 10, "999999976290406e": 10, "999999999975596e": 10, "999999999999772e": 10, "999999999999927e": 10, "999999999999988e": 10, "999999999999998e": 10, "9z7c3wfn7033kh93rp599rg00000gn": 24, "A": [2, 19, 27, 30], "For": [0, 5, 6, 7], "In": 2, "The": 26, "These": 0, "__init__": [], "_interpol": [], "ab": [3, 4, 5, 6, 7, 9, 12, 14, 29, 31], "abov": 1, "absolut": 29, "accuraci": 0, "adam": 28, "add": 16, "add_collection3d": [8, 21, 30], "add_subplot": [8, 18, 19, 21, 22, 30], "airi": 0, "all": 3, "almost": 26, "also": 2, "an": 3, "analyt": [9, 14], "append": [8, 21, 30], "approx": 1, "ar": [0, 3], "arang": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 20, 21, 22, 23, 27, 28, 29, 30], "argsort": [17, 24, 25, 26, 27, 29], "arrai": [22, 29], "avail": 0, "awai": 3, "ax": [8, 18, 19, 21, 22, 30], "axes3d": [19, 22], "axi": [3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 17, 18, 19, 20, 21, 22, 27, 28, 30], "azim": 22, "b": [16, 17, 30], "background": [8, 21, 30], "backward": 28, "band": [0, 9], "base": 0, "bashforth": 28, "bc": [0, 32], "been": [], "begin": 3, "bf": 24, "binder": 0, "bisplev": [], "bisplrep": [], "black": [18, 19, 22], "blit": [8, 21, 30], "bo": 17, "book": 0, "boundai": 16, "boundari": [1, 18, 21, 22, 25, 26], "bounds_error": [], "bug": [], "build": 33, "bv": 14, "bvp": 0, "c": [8, 9, 13, 14, 30], "call": [8, 21, 30], "can": [0, 3], "cannot": [8, 21, 30], "case": [2, 3], "caskroom": [], "cd": 0, "cell": [], "chang": [8, 16, 21, 30], "cheb": [13, 14, 15, 16, 17, 18, 19, 24, 25, 26, 27, 29, 31, 32, 33], "chebfft": [20, 21], "chebfftpi": [20, 21], "chebpi": [0, 13, 14, 15, 16, 17, 18, 19, 24, 25, 26, 27, 29, 31, 32, 33], "chebyshev": [0, 12], "choic": 19, "clencurt": 31, "clone": 0, "close": 8, "cloughtocher2dinterpol": [], "cm": [18, 19, 22], "cmap": [18, 19, 22], "co": [1, 2, 4, 5, 6, 7, 8, 9, 11, 12, 13, 20, 21, 22, 23], "code": [0, 26], "coeffici": 0, "col": [2, 4, 9, 10, 23], "colab": 0, "collect": [8, 21, 30], "color": 27, "column": [1, 2, 33], "com": 0, "command": [5, 6, 7], "compar": [26, 31], "compat": [], "complex": [0, 5, 6, 7], "comput": [0, 1, 2, 4, 25, 26, 33], "condit": [1, 21, 22, 24, 29], "config": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "consid": 7, "construct": 1, "contour": [12, 19, 25, 26, 27], "control": [8, 30], "converg": 0, "convert": [18, 19], "coo_matrix": 1, "copi": [], "correct": 32, "correspond": 0, "cosh": [15, 30, 32], "could": 2, "cpraveen": 0, "cstride": [18, 19, 22], "cubic": [18, 22, 25, 26], "curv": 0, "cycl": 23, "d": [0, 1, 2, 4, 9, 10, 13, 14, 15, 16, 17, 24, 27, 28, 29, 30, 31, 32, 33], "d2": [10, 15, 16, 17, 18, 19, 23, 24, 25, 26, 29, 32, 33], "data": [8, 15, 16, 17, 22, 23, 32, 33], "davi": 0, "dd": 28, "def": [8, 21, 30], "delet": [5, 6, 7], "delta": 3, "deriv": [1, 2, 4, 5, 6, 7, 14], "detail": [], "devdoc": [], "di": 31, "diag": [10, 23, 24, 25, 26, 27, 29], "diff": 0, "differ": 0, "differenti": [0, 1, 5, 6, 7, 8, 28, 30], "displai": [8, 21, 30], "do": 2, "dot": [1, 2, 4, 9, 13, 14, 15, 16, 17, 18, 19, 24, 25, 26, 27, 29, 31, 32, 33], "draw": [8, 21, 30], "dt": [8, 21, 22, 30], "e": [1, 9, 10, 14, 15, 21, 22, 23, 29, 30, 31, 32, 33], "e1": 1, "e2": [1, 30], "e3": 1, "each": [8, 21, 30], "edgecolor": [8, 18, 19, 22], "eig": [10, 17, 23, 24, 25, 26, 27, 29], "eigenmod": [25, 26, 29], "eigenvalu": 0, "eigenvector": 0, "eigth": 1, "element": [8, 21, 30], "elev": 22, "elif": 3, "els": 3, "end": 3, "eqn": 33, "equal": 28, "equat": 0, "equipotenti": 0, "equispac": [0, 12], "erf": 31, "err": [15, 16, 32, 33], "err_mesg": [], "error": [1, 2, 4, 5, 6, 7, 9, 11, 13, 14, 20, 31, 33], "escap": [9, 29], "eval": [10, 23], "evalu": 3, "evec": [10, 23], "even": 16, "exact": [2, 15, 32, 33], "exampl": 0, "except": [8, 21, 30], "exp": [1, 2, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 19, 20, 21, 22, 25, 26, 28, 30, 31, 32, 33], "extra": 26, "extra_arg": [8, 21, 30], "ey": [18, 19, 25, 26, 27], "f": [15, 18, 19, 20, 22, 25, 26, 31, 32, 33], "facecolor": 8, "fals": 8, "ff": 20, "fft": [0, 8, 30], "fftpack": 0, "fig": [8, 12, 17, 18, 19, 21, 22, 27, 30], "figsiz": [3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31], "figur": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "figure_format": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "file": [0, 8, 21, 30], "fill_valu": [], "find": 1, "fine": [25, 26], "finer": [18, 25, 26, 27], "finit": [0, 3, 4], "first": [1, 2, 8, 21, 30, 33], "fliplr": 22, "flipud": [20, 22], "folder": [9, 24, 29], "follow": [3, 4, 18, 19, 25, 26], "formula": [0, 8, 21, 22], "fourth": 0, "fp": [8, 21, 30], "frac": 1, "frame": [8, 21, 30], "frog": [8, 21], "from": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "funcanim": [8, 21, 30], "function": [0, 1, 3, 4, 5, 6, 7, 8, 21, 30], "g": 30, "gener": 2, "get": 0, "git": 0, "github": 0, "grid": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 20, 22, 25, 26, 28, 30, 31, 32, 33], "h": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 23, 27], "ha": 33, "harmon": 0, "hat": [3, 4, 5, 6, 7], "have": [0, 8, 21, 30], "helmholtz": 0, "here": 0, "homebrew": [], "homogen": 32, "html": [0, 8, 21, 30], "http": 0, "i": [0, 2, 3, 7, 8, 11, 12, 18, 19, 21, 22, 23, 25, 26, 27, 28, 30], "ifft": [5, 8, 20, 22, 30], "ii": [17, 22, 24, 25, 26, 29], "ij": [12, 18, 19, 22, 25, 26, 27], "ik": [5, 6, 8], "ik3": 30, "imag": [12, 25, 26, 27, 28, 29], "implement": 1, "import": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "index": [12, 18, 19, 22, 25, 26, 27], "inf": [1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 25, 26, 32, 33], "infin": [9, 14], "infinit": 3, "init": [8, 21, 22, 30], "init_func": [8, 21, 30], "initi": [8, 21, 22, 30], "inlin": [1, 2, 3, 4, 8, 9, 10, 11, 13, 14, 15, 16, 20, 21, 22, 28, 29, 30], "inlinebackend": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "instead": [], "int": [8, 17, 21, 22, 30], "integr": 0, "interp2d": [], "interp_transition_guid": [], "interpol": [0, 15, 16, 17, 18, 19, 22, 25, 26, 32, 33], "interv": [3, 4, 8, 21, 30], "inv": 31, "invalid": [9, 29], "io": 0, "iplot": [9, 14, 31], "ipykernel_2476": 24, "ipykernel_6443": 9, "ipykernel_6462": [], "ipykernel_6471": [], "ipykernel_6490": [], "ipykernel_6493": [], "ipykernel_6498": [], "ipykernel_6507": 29, "ipython": [8, 21, 30], "irfft": 6, "iter": 16, "itertool": 23, "its": 2, "j": [1, 17, 22, 27], "jet": [18, 19, 22], "jshtml": [8, 21, 30], "jupyt": 0, "just": 18, "k": [19, 22, 27, 30], "kdv": 0, "kind": [], "kron": [18, 19, 25, 26], "kutta": [28, 30], "l": [0, 10, 18, 19, 25, 26, 27, 29], "lab": 0, "label": 31, "lam": [17, 24, 27, 29], "lambda": [10, 17, 23, 25, 26, 29], "laplacian": 0, "last": 33, "le": 3, "leap": [8, 21], "leapfrog": 22, "left": 1, "legaci": 7, "len": [3, 8, 21, 23, 27, 28, 30], "let": 1, "level": [12, 27], "lib": [], "libx264": [8, 21, 30], "limit": [0, 9], "linalg": [1, 2, 4, 5, 6, 7, 9, 10, 11, 14, 15, 16, 17, 18, 19, 23, 24, 25, 26, 27, 29, 31, 32, 33], "line": [8, 21, 23, 26, 30], "linear": 0, "linearndinterpol": [], "linecollect": [21, 30], "link": 0, "linspac": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 24, 25, 26, 32, 33], "list": [8, 21, 22, 30], "log": 29, "loglog": [1, 2, 29], "loop": [8, 21, 30], "lu": [18, 19], "lv": 17, "lw": [8, 21, 30], "mai": [7, 24, 29], "make": 1, "mathbb": 10, "mathieu": 0, "matlab": 0, "matplotlib": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "matrix": [0, 1, 2, 4, 5, 6, 7, 8, 9, 30, 33], "max": [3, 4, 5, 6, 7, 11, 15, 29, 32, 33], "maxerr": [15, 32, 33], "maximum": [3, 4, 5, 6, 7], "mbox": [18, 19, 25, 26], "mean": [8, 21, 30], "mesh": 18, "meshgrid": [12, 18, 19, 22, 25, 26, 27], "method": [18, 22, 25, 26], "min": 27, "miniforg": [], "minor": 19, "modif": 19, "more": [], "most": [], "moulton": 28, "movi": [8, 21, 30], "mp4": [8, 21, 30], "mpl_toolkit": [19, 22], "mplot3d": [19, 22], "must": 16, "n": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33], "nbviewer": 0, "ne": 23, "nearli": [], "need": 1, "neumann": 0, "new": [], "next": 23, "nmax": [9, 14, 30, 31], "non": 32, "none": [], "nonlinear": 0, "nonphys": 29, "norm": [1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 25, 26, 32, 33], "notimplementederror": [], "nplot": [8, 21], "nplt": 30, "number": [5, 6, 8, 23], "numpi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "nvec": 1, "o": [3, 9, 11, 12, 13, 15, 16, 20, 27, 29, 32, 33], "od": 0, "off": 17, "onc": [8, 21, 30], "one": 26, "ones": 1, "onli": [8, 21, 26, 30], "oper": 0, "opt": [], "order": [0, 18, 19, 25, 26], "origin": 3, "oscil": 0, "otherwis": 3, "own": 0, "p": [3, 11, 12, 29], "p01": 0, "p02": 0, "p03": 0, "p04": 0, "p05": 0, "p05b": 0, "p05c": 0, "p06": 0, "p07": 0, "p08": 0, "p09": 0, "p1": 2, "p10": 0, "p11": [0, 20], "p12": [0, 31], "p13": [0, 32], "p14": 0, "p15": 0, "p16": [0, 19], "p17": 0, "p18": 0, "p19": 0, "p20": 0, "p21": 0, "p22": 0, "p23": [0, 26], "p23a": 0, "p24": 0, "p25": 0, "p26": 0, "p27": 0, "p30": 0, "p32": 0, "p33": 0, "packag": 7, "part": [8, 21, 30], "particular": 19, "pass": 1, "pattern": 18, "period": [0, 1], "perturb": 0, "physic": 29, "pi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 17, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31], "pl": 3, "plot": [1, 3, 4, 5, 6, 7, 8, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33], "plot_count": 20, "plot_surfac": [18, 19, 22], "plotdata": 21, "plotgap": [8, 21, 22], "plt": [8, 21, 30], "pm": 21, "point": [0, 12], "poisson": 0, "poli": [8, 12, 21, 30], "polycollect": 8, "polyfit": [11, 15, 16, 17, 24, 29, 32, 33], "polynomi": [0, 14], "polyv": [11, 12, 15, 16, 17, 24, 29, 32, 33], "poorli": [24, 29], "pp": [11, 12], "ppw": 17, "prefer": [], "present": 2, "print": [8, 10, 21, 30], "problem": [18, 19, 25, 26], "product": [25, 26], "program": 2, "project": [8, 18, 19, 21, 22, 30], "pseudospectra": 0, "py": [9, 24, 29], "pyplot": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "python": 0, "python3": [], "q": 23, "qq": 23, "qquad": [1, 2, 4, 10, 15, 17, 18, 19, 21, 22, 25, 26, 30, 32, 33], "quad": [18, 25, 26], "r": [10, 28], "rais": [], "rang": [2, 3, 8, 9, 10, 11, 12, 14, 17, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31], "rankwarn": [24, 29], "rc": [8, 21, 30], "re": [8, 21, 30], "real": [0, 5, 7, 8, 12, 17, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30], "receiv": 7, "recent": [], "rectbivariatesplin": 19, "red": 8, "reflect": [8, 21, 30], "region": 0, "regular": [], "regulargridinterpol": [18, 22, 25, 26], "remaind": 22, "remov": 33, "repeat": [2, 20], "repetit": 0, "replac": [], "reshap": [18, 19, 25, 26], "restrict": 3, "return": [8, 21, 30], "rewritten": 0, "rfft": 6, "rh": 33, "right": 1, "round": [8, 20, 21, 22, 30], "row": [1, 2, 4, 9, 33], "rr": 28, "rstride": [18, 19, 22], "run": 0, "rung": [28, 30], "sai": 3, "same": 26, "save": [8, 21, 30], "scale": 29, "scatter": [], "scheme": 1, "scipi": [0, 1, 2, 4, 9, 10, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 31, 32, 33], "second": 0, "see": 0, "self": [], "semilogi": [1, 9, 14, 29, 31], "sequenc": [9, 29], "sequenti": [8, 21, 30], "set": [4, 5, 6, 7, 8, 9, 21, 25, 26, 30], "set_alpha": [8, 21, 30], "set_data": [8, 21, 30], "set_xlabel": [8, 21, 30], "set_xlim": 12, "set_xlim3d": [8, 21, 22, 30], "set_ylabel": [8, 21, 30], "set_ylim3d": [8, 21, 22, 30], "set_zlabel": [8, 21, 30], "set_zlim3d": [8, 21, 22, 30], "shape": [1, 17], "siam": 0, "sigmin": 27, "similar": 32, "sin": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 18, 19, 20, 23], "sinc": 3, "sinh": [15, 32], "site": [], "sixth": 1, "size": [], "smaller": 27, "smooth": 0, "solv": [0, 18, 19, 21, 22, 25, 26, 27], "some": 3, "sort": [10, 23], "spars": 1, "sparsiti": 18, "special": [24, 31], "spectral": [5, 6, 7], "spectral_matlab": 0, "spy": 18, "sqrt": 31, "squar": 3, "stabil": 0, "step": [8, 16, 21, 22, 30], "str": [4, 5, 6, 7, 11, 13, 18, 19, 20, 22, 29], "strip": 9, "style": 0, "subplot": [3, 4, 5, 6, 7, 9, 11, 12, 13, 14, 17, 18, 19, 20, 22, 24, 25, 26, 28, 31], "svd": 27, "svdval": 27, "svg": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "syntaxwarn": [9, 29], "t": [1, 8, 9, 17, 21, 22, 24, 29, 30], "tan": [2, 4, 9], "tc": [9, 29], "tdata": [8, 21, 30], "teach": 0, "tensor": [25, 26], "text": [1, 4, 5, 6, 7, 11, 29, 31], "textrm": 3, "th": 0, "them": [0, 1, 25, 26], "thi": [8, 21, 26, 30], "time": [8, 19, 21, 22, 30], "titl": [1, 4, 5, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 25, 26, 27, 28, 29, 32, 33], "tmax": [8, 21, 30], "to_html5_video": [8, 21, 30], "toeplitz": [1, 2, 4, 9, 10, 14, 23], "toepliz": 2, "tplot": [8, 21], "traceback": [], "trefethen": 0, "true": [1, 2, 3, 8, 11, 12, 13, 20, 21, 25, 26, 30, 31, 32, 33], "try": [8, 21, 30], "tt": [21, 22], "tutori": [], "u": [1, 2, 8, 10, 11, 13, 15, 16, 17, 18, 19, 21, 22, 25, 26, 30, 32, 33], "u_": [1, 15, 16, 17, 18, 19, 21, 22, 25, 26, 30, 32, 33], "u_t": 30, "u_x": 30, "udata": 30, "unew": 16, "up": [4, 5, 6, 7, 8, 9, 21, 25, 26, 30], "updat": 7, "uprim": [1, 2], "us": [0, 1, 2, 3, 8, 20, 21, 30], "uu": [11, 13, 15, 16, 17, 18, 19, 25, 26, 32, 33], "uuu": [18, 19, 25, 26], "uxx": 22, "uyi": 22, "v": [3, 4, 5, 6, 7, 8, 9, 14, 17, 21, 22, 24, 25, 26, 27, 29, 30], "v_hat": [5, 6, 8], "valu": [16, 18, 19, 27, 29], "var": [9, 24, 29], "variabl": 0, "vcodec": [8, 21, 30], "vector": [16, 18, 19], "version": 0, "via": 0, "view_init": [8, 21, 22, 30], "visual": 18, "vn": 29, "vn4": 29, "vnew": [8, 21], "vold": [8, 21], "vprime": [4, 5, 6, 7, 9, 14], "vv": [22, 24, 29], "vvnew": 22, "vvold": 22, "vvv": 22, "w": [5, 6, 7, 8, 21, 28, 31], "w1": 22, "w1_hat": 22, "w2": 22, "w2_hat": 22, "w_hat": [5, 6, 8], "w_j": 1, "want": [8, 21, 30], "wave": [0, 3, 5, 6], "we": [2, 3, 4, 8, 18, 20, 21, 22, 25, 26, 30], "where": [24, 26], "while": 16, "white": 8, "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33], "x_j": 1, "xgrid": 12, "xlabel": [1, 2, 8, 9, 14, 18, 19, 21, 22, 23, 30, 31, 32, 33], "xlim": [8, 21, 29, 30, 31], "xmax": 3, "xx": [3, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 32, 33], "xxx": [18, 19, 22, 30], "y": [8, 18, 19, 21, 22, 25, 26, 27, 30], "ygrid": 12, "ylabel": [1, 2, 8, 9, 14, 18, 19, 21, 22, 23, 29, 30, 31, 32, 33], "ylim": [8, 21, 30, 31], "you": [0, 1], "your": 0, "yy": [12, 18, 19, 22, 25, 26, 27], "z": [8, 21, 28, 30], "zdir": [8, 21, 30], "zero": [2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "zip": [8, 21, 30], "zz": [12, 27]}, "titles": ["Spectral Methods", "p01: Convergence of fourth order finite differences", "p02: Convergence of periodic spectral method", "p03: Band-limited interpolation", "p04: Periodic spectral differentiation", "p05: Repetition of p04 via FFT", "p05b: Repetition of p05 via real FFT", "p05c: Repetition of p05 using scipy.fftpack.diff", "p06: Variable coefficient wave equation", "p07: Accuracy of periodic spectral differentiation", "p08: Eigenvalues of harmonic oscillator", "p09: Polynomial interpolation in equispaced and chebyshev points", "p10: Polynomials and corresponding equipotential curves", "p11: Chebyshev differentiation of a smooth function", "p12: Accuracy of Chebyshev spectral differentiation", "p13: Solve linear BVP", "p14 - Solve nonlinear BVP", "p15 - Solve eigenvalue BVP", "p16: Poisson equation in 2-D", "p17: Helmholtz Equation in 2-D", "p18: Chebyshev differentiation via FFT", "p19: Second order Wave Equation on Chebyshev Grid", "p20: Second order wave equation in 2-D via FFT", "p21: Eigenvalues of Mathieu operator", "p22: 5\u2019th eigenvector of Airy equation", "p23: Eigenvalues of Laplacian in 2-D", "p23a: Eigenvalues of perturbed Laplacian in 2-D", "p24: Pseudospectra of Davies\u2019s complex harmonic oscillator", "p25: Stability regions for ODE formulas", "p26: Eigenvalues of 2nd order Chebyshev diff. matrix", "p27: Solve KdV equation", "p30: Spectral integration, ODE style", "p32: Solve linear BVP", "p33: Solve linear BVP, Neumann bc"], "titleterms": {"": 27, "0": [], "1": [], "2": [18, 19, 22, 25, 26], "2nd": 29, "4x": [], "5": 24, "accuraci": [9, 14], "airi": 24, "anim": [8, 21, 30], "band": 3, "bc": 33, "boundari": [], "bvp": [15, 16, 17, 32, 33], "chebyshev": [11, 13, 14, 20, 21, 29], "clenshaw": 31, "coeffici": 8, "complex": 27, "content": 0, "converg": [1, 2], "correspond": 12, "curti": 31, "curv": 12, "d": [18, 19, 22, 25, 26], "davi": 27, "diff": [7, 29], "differ": 1, "differenti": [4, 9, 13, 14, 20], "eigenvalu": [10, 17, 23, 25, 26, 29], "eigenvector": 24, "equat": [8, 18, 19, 21, 22, 24, 30], "equipotenti": 12, "equispac": 11, "exercis": 1, "exp": [], "fft": [5, 6, 20, 22], "fftpack": 7, "finit": 1, "formula": 28, "fourth": 1, "function": 13, "gauss": 31, "grid": 21, "harmon": [10, 27], "helmholtz": 19, "integr": 31, "interpol": [3, 11], "iter": [], "kdv": 30, "lambda": [], "laplacian": [25, 26], "legendr": 31, "limit": 3, "linear": [15, 32, 33], "make": [8, 21, 30], "mathieu": 23, "matrix": 29, "method": [0, 2], "neumann": 33, "nonlinear": 16, "od": [28, 31], "oper": 23, "order": [1, 21, 22, 29], "oscil": [10, 27], "p01": 1, "p02": 2, "p03": 3, "p04": [4, 5], "p05": [5, 6, 7], "p05b": 6, "p05c": 7, "p06": 8, "p07": 9, "p08": 10, "p09": 11, "p10": 12, "p11": 13, "p12": 14, "p13": 15, "p14": 16, "p15": 17, "p16": 18, "p17": 19, "p18": 20, "p19": 21, "p20": 22, "p21": 23, "p22": 24, "p23": 25, "p23a": 26, "p24": 27, "p25": 28, "p26": 29, "p27": 30, "p30": 31, "p32": 32, "p33": 33, "period": [2, 4, 9], "perturb": 26, "point": 11, "poisson": 18, "polynomi": [11, 12], "pseudospectra": 27, "r": [], "real": 6, "region": 28, "repeat": 31, "repetit": [5, 6, 7], "scipi": 7, "second": [21, 22], "smooth": 13, "solv": [15, 16, 17, 30, 32, 33], "spectral": [0, 2, 4, 9, 14, 31], "stabil": 28, "style": 31, "tabl": 0, "th": 24, "u": [], "u_": [], "us": 7, "variabl": 8, "via": [5, 6, 20, 22], "wave": [8, 21, 22], "x": [], "xx": []}}) \ No newline at end of file +Search.setIndex({"alltitles": {"Exercise": [[1, "exercise"], [1, "id1"]], "Make animation": [[8, "make-animation"], [21, "make-animation"], [30, "make-animation"]], "Repeat with Clenshaw-Curtis": [[31, "repeat-with-clenshaw-curtis"]], "Repeat with Gauss-Legendre": [[31, "repeat-with-gauss-legendre"]], "Spectral Methods": [[0, null]], "Table of contents": [[0, "table-of-contents"]], "p01: Convergence of fourth order finite differences": [[1, null]], "p02: Convergence of periodic spectral method": [[2, null]], "p03: Band-limited interpolation": [[3, null]], "p04: Periodic spectral differentiation": [[4, null]], "p05: Repetition of p04 via FFT": [[5, null]], "p05b: Repetition of p05 via real FFT": [[6, null]], "p05c: Repetition of p05 using scipy.fftpack.diff": [[7, null]], "p06: Variable coefficient wave equation": [[8, null]], "p07: Accuracy of periodic spectral differentiation": [[9, null]], "p08: Eigenvalues of harmonic oscillator": [[10, null]], "p09: Polynomial interpolation in equispaced and chebyshev points": [[11, null]], "p10: Polynomials and corresponding equipotential curves": [[12, null]], "p11: Chebyshev differentiation of a smooth function": [[13, null]], "p12: Accuracy of Chebyshev spectral differentiation": [[14, null]], "p13: Solve linear BVP": [[15, null]], "p14 - Solve nonlinear BVP": [[16, null]], "p15 - Solve eigenvalue BVP": [[17, null]], "p16: Poisson equation in 2-D": [[18, null]], "p17: Helmholtz Equation in 2-D": [[19, null]], "p18: Chebyshev differentiation via FFT": [[20, null]], "p19: Second order Wave Equation on Chebyshev Grid": [[21, null]], "p20: Second order wave equation in 2-D via FFT": [[22, null]], "p21: Eigenvalues of Mathieu operator": [[23, null]], "p22: 5\u2019th eigenvector of Airy equation": [[24, null]], "p23: Eigenvalues of Laplacian in 2-D": [[25, null]], "p23a: Eigenvalues of perturbed Laplacian in 2-D": [[26, null]], "p24: Pseudospectra of Davies\u2019s complex harmonic oscillator": [[27, null]], "p25: Stability regions for ODE formulas": [[28, null]], "p26: Eigenvalues of 2nd order Chebyshev diff. matrix": [[29, null]], "p27: Solve KdV equation": [[30, null]], "p30: Spectral integration, ODE style": [[31, null]], "p32: Solve linear BVP": [[32, null]], "p33: Solve linear BVP, Neumann bc": [[33, null]]}, "docnames": ["front", "p01", "p02", "p03", "p04", "p05", "p05b", "p05c", "p06", "p07", "p08", "p09", "p10", "p11", "p12", "p13", "p14", "p15", "p16", "p17", "p18", "p19", "p20", "p21", "p22", "p23", "p23a", "p24", "p25", "p26", "p27", "p30", "p32", "p33"], "envversion": {"sphinx": 62, "sphinx.domains.c": 3, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 9, "sphinx.domains.index": 1, "sphinx.domains.javascript": 3, "sphinx.domains.math": 2, "sphinx.domains.python": 4, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinxcontrib.bibtex": 9}, "filenames": ["front.md", "p01.ipynb", "p02.ipynb", "p03.ipynb", "p04.ipynb", "p05.ipynb", "p05b.ipynb", "p05c.ipynb", "p06.ipynb", "p07.ipynb", "p08.ipynb", "p09.ipynb", "p10.ipynb", "p11.ipynb", "p12.ipynb", "p13.ipynb", "p14.ipynb", "p15.ipynb", "p16.ipynb", "p17.ipynb", "p18.ipynb", "p19.ipynb", "p20.ipynb", "p21.ipynb", "p22.ipynb", "p23.ipynb", "p23a.ipynb", "p24.ipynb", "p25.ipynb", "p26.ipynb", "p27.ipynb", "p30.ipynb", "p32.ipynb", "p33.ipynb"], "indexentries": {}, "objects": {}, "objnames": {}, "objtypes": {}, "terms": {"": [0, 9, 11, 12, 15, 16, 17, 28, 32, 33], "0": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "00": 10, "000000000000000e": 10, "000000000000737e": 10, "000000000508624e": 10, "000000098410861e": 10, "000024998156542e": 10, "000644066795828e": 10, "006": 30, "01": [10, 11, 12, 29], "02": 31, "039571897981499e": 10, "075": 21, "0e": [9, 14, 16], "0e3": [9, 14], "1": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "10": [3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 29, 30, 31], "100": [2, 8, 20, 25, 26, 28, 31], "1000x1000": [], "105": 1, "106": 28, "10f": 24, "10x": 9, "11": [23, 29, 31], "111": [8, 18, 19, 21, 30], "115": 30, "12": [1, 8, 10, 12, 20, 21, 22, 24, 28, 30], "127": [], "128": 8, "129": [], "12f": [25, 26], "13": 1, "13f": 17, "14": [], "14f": 16, "15": [8, 14, 16, 17, 22, 23, 24], "1541387896": 24, "15e": 10, "16": [9, 11, 12, 14, 15, 16, 22, 25, 26, 28, 30, 32, 33], "160": 28, "17": [], "171605320647185e": 10, "17nf7v3j53jgg4db9vxl40g00000gn": [9, 29], "18": [10, 16, 25, 26, 29, 31], "19": 28, "1910284227": 29, "1e": 31, "1e3": 31, "1e6": 29, "1f": 17, "1j": [5, 6, 8, 12, 22, 27, 28, 30], "2": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 16, 17, 20, 21, 23, 24, 27, 28, 29, 30, 31, 32], "20": [3, 8, 13, 17, 20, 21, 26, 30, 31], "200": [13, 15, 21, 24, 32, 33], "2000": 30, "201": [16, 28], "21": [], "22": [], "220344929": [], "23": 28, "24": [4, 5, 6, 7, 10, 18, 19, 22, 28, 29], "25": [30, 31], "250": [12, 22], "251": 28, "256": 30, "264": 28, "2d": [25, 26], "2nd": 0, "3": [1, 3, 4, 5, 6, 7, 9, 10, 14, 18, 20, 22, 23, 28, 30, 31], "30": [9, 10], "31": 9, "3353260806": [], "35": 17, "3535814397": [], "36": [10, 17], "37": 10, "3d": [8, 18, 19, 21, 22, 30], "3j": 27, "3rd": 14, "4": [1, 3, 4, 5, 6, 7, 8, 9, 10, 12, 14, 15, 17, 18, 20, 21, 22, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "40": [8, 22, 27], "400": [11, 12], "42": 23, "455935291166790e": 10, "494134621050521e": 10, "4x": [15, 32, 33], "5": [0, 2, 3, 4, 5, 6, 7, 9, 10, 11, 13, 17, 19, 20, 21, 22, 23, 27, 28, 30, 31], "50": [8, 9, 14, 18, 19, 21, 27, 30, 31], "501": 17, "5e": 1, "5j": 30, "6": [4, 5, 6, 7, 9, 10, 11, 17, 18, 22, 23, 27, 28, 30], "60": [21, 24, 29], "614729169954720e": 10, "641274344": 9, "646": 28, "7": [10, 28], "70": [8, 21, 27], "720": 28, "720916053006558e": 10, "781372812986103e": 10, "8": [1, 8, 10, 12, 13, 18, 19, 21, 24, 28, 29, 31], "80": [21, 30], "883248377834012e": 10, "8x": 18, "9": [9, 10, 12, 14, 19, 24, 28], "924529058119932e": 10, "971891851": [], "992595324407724e": 10, "999700014993121e": 10, "999997965273280e": 10, "999999976290406e": 10, "999999999975596e": 10, "999999999999772e": 10, "999999999999927e": 10, "999999999999988e": 10, "999999999999998e": 10, "9z7c3wfn7033kh93rp599rg00000gn": 24, "A": [2, 19, 27, 30], "For": [0, 5, 6, 7], "In": [0, 2], "The": 26, "These": 0, "__init__": [], "_interpol": [], "ab": [3, 4, 5, 6, 7, 9, 12, 14, 29, 31], "abov": 1, "absolut": 29, "accuraci": 0, "adam": 28, "add": 16, "add_collection3d": [8, 21, 30], "add_subplot": [8, 18, 19, 21, 22, 30], "airi": 0, "all": 3, "almost": 26, "also": 2, "an": 3, "analyt": [9, 14], "ani": 0, "append": [8, 21, 30], "approx": 1, "ar": [0, 3], "arang": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 20, 21, 22, 23, 27, 28, 29, 30], "argsort": [17, 24, 25, 26, 27, 29], "arrai": [22, 29], "avail": 0, "awai": 3, "ax": [8, 18, 19, 21, 22, 30], "axes3d": [19, 22], "axi": [3, 4, 5, 6, 7, 8, 9, 11, 12, 14, 17, 18, 19, 20, 21, 22, 27, 28, 30], "azim": 22, "b": [16, 17, 30], "background": [8, 21, 30], "backward": 28, "band": [0, 9], "base": 0, "bashforth": 28, "bc": [0, 32], "been": [], "begin": 3, "bf": 24, "binder": 0, "bisplev": [], "bisplrep": [], "black": [18, 19, 22], "blit": [8, 21, 30], "bo": 17, "book": 0, "boundai": 16, "boundari": [1, 18, 21, 22, 25, 26], "bounds_error": [], "bug": 0, "build": 33, "bv": 14, "bvp": 0, "c": [8, 9, 13, 14, 30], "call": [8, 21, 30], "can": [0, 3], "cannot": [8, 21, 30], "case": [2, 3], "caskroom": [], "cd": 0, "cell": [], "chang": [8, 16, 21, 30], "cheb": [13, 14, 15, 16, 17, 18, 19, 24, 25, 26, 27, 29, 31, 32, 33], "chebfft": [20, 21], "chebfftpi": [20, 21], "chebpi": [0, 13, 14, 15, 16, 17, 18, 19, 24, 25, 26, 27, 29, 31, 32, 33], "chebyshev": [0, 12], "choic": 19, "clencurt": 31, "clone": 0, "close": 8, "cloughtocher2dinterpol": [], "cm": [18, 19, 22], "cmap": [18, 19, 22], "co": [1, 2, 4, 5, 6, 7, 8, 9, 11, 12, 13, 20, 21, 22, 23], "code": [0, 26], "coeffici": 0, "col": [2, 4, 9, 10, 23], "colab": 0, "collect": [8, 21, 30], "color": 27, "column": [1, 2, 33], "com": 0, "command": [5, 6, 7], "compar": [26, 31], "compat": [], "complex": [0, 5, 6, 7], "comput": [0, 1, 2, 4, 25, 26, 33], "condit": [1, 21, 22, 24, 29], "config": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "consid": 7, "construct": 1, "contour": [12, 19, 25, 26, 27], "control": [8, 30], "converg": 0, "convert": [18, 19], "coo_matrix": 1, "copi": [], "correct": 32, "correspond": 0, "cosh": [15, 30, 32], "could": 2, "counter": 0, "cpraveen": 0, "cstride": [18, 19, 22], "cubic": [18, 22, 25, 26], "curv": 0, "cycl": 23, "d": [0, 1, 2, 4, 9, 10, 13, 14, 15, 16, 17, 24, 27, 28, 29, 30, 31, 32, 33], "d2": [10, 15, 16, 17, 18, 19, 23, 24, 25, 26, 29, 32, 33], "data": [8, 15, 16, 17, 22, 23, 32, 33], "davi": 0, "dd": 28, "def": [8, 21, 30], "delet": [5, 6, 7], "delta": 3, "deriv": [1, 2, 4, 5, 6, 7, 14], "detail": [], "devdoc": [], "di": 31, "diag": [10, 23, 24, 25, 26, 27, 29], "diff": 0, "differ": 0, "differenti": [0, 1, 5, 6, 7, 8, 28, 30], "displai": [8, 21, 30], "do": 2, "dot": [1, 2, 4, 9, 13, 14, 15, 16, 17, 18, 19, 24, 25, 26, 27, 29, 31, 32, 33], "draw": [8, 21, 30], "dt": [8, 21, 22, 30], "e": [1, 9, 10, 14, 15, 21, 22, 23, 29, 30, 31, 32, 33], "e1": 1, "e2": [1, 30], "e3": 1, "each": [8, 21, 30], "edgecolor": [8, 18, 19, 22], "eig": [10, 17, 23, 24, 25, 26, 27, 29], "eigenmod": [25, 26, 29], "eigenvalu": 0, "eigenvector": 0, "eigth": 1, "element": [8, 21, 30], "elev": 22, "elif": 3, "els": 3, "end": 3, "eqn": 33, "equal": 28, "equat": 0, "equipotenti": 0, "equispac": [0, 12], "erf": 31, "err": [15, 16, 32, 33], "err_mesg": [], "error": [1, 2, 4, 5, 6, 7, 9, 11, 13, 14, 20, 31, 33], "escap": [9, 29], "eval": [10, 23], "evalu": 3, "evec": [10, 23], "even": 16, "exact": [2, 15, 32, 33], "exampl": 0, "except": [8, 21, 30], "exp": [1, 2, 4, 5, 6, 7, 8, 9, 13, 14, 15, 16, 19, 20, 21, 22, 25, 26, 28, 30, 31, 32, 33], "extra": 26, "extra_arg": [8, 21, 30], "ey": [18, 19, 25, 26, 27], "f": [15, 18, 19, 20, 22, 25, 26, 31, 32, 33], "facecolor": 8, "fals": 8, "ff": 20, "fft": [0, 8, 30], "fftpack": 0, "fig": [8, 12, 17, 18, 19, 21, 22, 27, 30], "figsiz": [3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 28, 29, 30, 31], "figur": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31], "figure_format": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "file": [0, 8, 21, 30], "fill_valu": [], "find": [0, 1], "fine": [25, 26], "finer": [18, 25, 26, 27], "finit": [0, 3, 4], "first": [1, 2, 8, 21, 30, 33], "fliplr": 22, "flipud": [20, 22], "folder": [9, 24, 29], "follow": [3, 4, 18, 19, 25, 26], "formula": [0, 8, 21, 22], "fourth": 0, "fp": [8, 21, 30], "frac": 1, "frame": [8, 21, 30], "frog": [8, 21], "from": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "funcanim": [8, 21, 30], "function": [0, 1, 3, 4, 5, 6, 7, 8, 21, 30], "g": 30, "gener": 2, "get": 0, "git": 0, "github": 0, "grid": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 14, 15, 16, 17, 20, 22, 25, 26, 28, 30, 31, 32, 33], "h": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 23, 27], "ha": 33, "harmon": 0, "hat": [3, 4, 5, 6, 7], "have": [0, 8, 21, 30], "helmholtz": 0, "here": 0, "homebrew": [], "homogen": 32, "howev": 0, "html": [0, 8, 21, 30], "http": 0, "i": [0, 2, 3, 7, 8, 11, 12, 18, 19, 21, 22, 23, 25, 26, 27, 28, 30], "ifft": [5, 8, 20, 22, 30], "ii": [17, 22, 24, 25, 26, 29], "ij": [12, 18, 19, 22, 25, 26, 27], "ik": [5, 6, 8], "ik3": 30, "imag": [12, 25, 26, 27, 28, 29], "implement": 1, "import": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "index": [12, 18, 19, 22, 25, 26, 27], "inf": [1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 25, 26, 32, 33], "infin": [9, 14], "infinit": 3, "init": [8, 21, 22, 30], "init_func": [8, 21, 30], "initi": [8, 21, 22, 30], "inlin": [1, 2, 3, 4, 8, 9, 10, 11, 13, 14, 15, 16, 20, 21, 22, 28, 29, 30], "inlinebackend": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "instead": [], "int": [8, 17, 21, 22, 30], "integr": 0, "interp2d": [], "interp_transition_guid": [], "interpol": [0, 15, 16, 17, 18, 19, 22, 25, 26, 32, 33], "interv": [3, 4, 8, 21, 30], "intuit": 0, "inv": 31, "invalid": [9, 29], "io": 0, "iplot": [9, 14, 31], "ipykernel_2476": 24, "ipykernel_6443": 9, "ipykernel_6462": [], "ipykernel_6471": [], "ipykernel_6490": [], "ipykernel_6493": [], "ipykernel_6498": [], "ipykernel_6507": 29, "ipython": [8, 21, 30], "irfft": 6, "iter": 16, "itertool": 23, "its": 2, "j": [1, 17, 22, 27], "jet": [18, 19, 22], "jshtml": [8, 21, 30], "jupyt": 0, "just": 18, "k": [19, 22, 27, 30], "kdv": 0, "kind": [], "kron": [18, 19, 25, 26], "kutta": [28, 30], "l": [0, 10, 18, 19, 25, 26, 27, 29], "lab": 0, "label": 31, "lam": [17, 24, 27, 29], "lambda": [10, 17, 23, 25, 26, 29], "laplacian": 0, "last": 33, "le": 3, "leap": [8, 21], "leapfrog": 22, "left": [0, 1], "legaci": 7, "len": [3, 8, 21, 23, 27, 28, 30], "let": 1, "level": [12, 27], "lib": [], "libx264": [8, 21, 30], "limit": [0, 9], "linalg": [1, 2, 4, 5, 6, 7, 9, 10, 11, 14, 15, 16, 17, 18, 19, 23, 24, 25, 26, 27, 29, 31, 32, 33], "line": [8, 21, 23, 26, 30], "linear": 0, "linearndinterpol": [], "linecollect": [21, 30], "link": 0, "linspac": [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 24, 25, 26, 32, 33], "list": [8, 21, 22, 30], "log": 29, "loglog": [1, 2, 29], "loop": [8, 21, 30], "lu": [18, 19], "lv": 17, "lw": [8, 21, 30], "mai": [0, 7, 24, 29], "make": 1, "mathbb": 10, "mathieu": 0, "matlab": 0, "matplotlib": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "matrix": [0, 1, 2, 4, 5, 6, 7, 8, 9, 30, 33], "max": [3, 4, 5, 6, 7, 11, 15, 29, 32, 33], "maxerr": [15, 32, 33], "maximum": [3, 4, 5, 6, 7], "mbox": [18, 19, 25, 26], "me": 0, "mean": [8, 21, 30], "mesh": 18, "meshgrid": [12, 18, 19, 22, 25, 26, 27], "method": [18, 22, 25, 26], "min": 27, "miniforg": [], "minor": 19, "mistak": 0, "modif": 19, "more": [], "most": [], "moulton": 28, "movi": [8, 21, 30], "mp4": [8, 21, 30], "mpl_toolkit": [19, 22], "mplot3d": [19, 22], "must": 16, "n": [0, 1, 2, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33], "nbviewer": 0, "ne": 23, "nearli": [], "need": 1, "neumann": 0, "new": [], "next": 23, "nmax": [9, 14, 30, 31], "non": 32, "none": [], "nonlinear": 0, "nonphys": 29, "norm": [1, 2, 4, 5, 6, 7, 9, 11, 14, 15, 16, 25, 26, 32, 33], "note": [], "notimplementederror": [], "nplot": [8, 21], "nplt": 30, "number": [5, 6, 8, 23], "numpi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "nvec": 1, "o": [3, 9, 11, 12, 13, 15, 16, 20, 27, 29, 32, 33], "od": 0, "off": 17, "onc": [8, 21, 30], "one": 26, "ones": 1, "onli": [8, 21, 26, 30], "oper": 0, "opt": [], "order": [0, 18, 19, 25, 26], "origin": 3, "oscil": 0, "otherwis": 3, "out": 0, "own": 0, "p": [3, 11, 12, 29], "p01": 0, "p02": 0, "p03": 0, "p04": 0, "p05": 0, "p05b": 0, "p05c": 0, "p06": 0, "p07": 0, "p08": 0, "p09": 0, "p1": 2, "p10": 0, "p11": [0, 20], "p12": [0, 31], "p13": [0, 32], "p14": 0, "p15": 0, "p16": [0, 19], "p17": 0, "p18": 0, "p19": 0, "p20": 0, "p21": 0, "p22": 0, "p23": [0, 26], "p23a": 0, "p24": 0, "p25": 0, "p26": 0, "p27": 0, "p30": 0, "p32": 0, "p33": 0, "packag": 7, "part": [8, 21, 30], "particular": 19, "pass": 1, "pattern": 18, "period": [0, 1], "perturb": 0, "physic": 29, "pi": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 14, 17, 20, 21, 22, 23, 25, 26, 28, 29, 30, 31], "pl": 3, "pleas": 0, "plot": [1, 3, 4, 5, 6, 7, 8, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33], "plot_count": 20, "plot_surfac": [18, 19, 22], "plotdata": 21, "plotgap": [8, 21, 22], "plt": [8, 21, 30], "pm": 21, "point": [0, 12], "poisson": 0, "poli": [8, 12, 21, 30], "polycollect": 8, "polyfit": [11, 15, 16, 17, 24, 29, 32, 33], "polynomi": [0, 14], "polyv": [11, 12, 15, 16, 17, 24, 29, 32, 33], "poorli": [24, 29], "pp": [11, 12], "ppw": 17, "prefer": [], "present": 2, "print": [8, 10, 21, 30], "problem": [0, 18, 19, 25, 26], "product": [25, 26], "program": 2, "project": [8, 18, 19, 21, 22, 30], "pseudospectra": 0, "py": [9, 24, 29], "pyplot": [1, 2, 3, 4, 5, 6, 7, 8, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "python": 0, "python3": [], "q": 23, "qq": 23, "qquad": [1, 2, 4, 10, 15, 17, 18, 19, 21, 22, 25, 26, 30, 32, 33], "quad": [18, 25, 26], "r": [10, 28], "rais": [], "rang": [2, 3, 8, 9, 10, 11, 12, 14, 17, 21, 22, 23, 24, 25, 26, 27, 28, 30, 31], "rankwarn": [24, 29], "rc": [8, 21, 30], "re": [8, 21, 30], "real": [0, 5, 7, 8, 12, 17, 20, 22, 23, 24, 25, 26, 27, 28, 29, 30], "receiv": 7, "recent": [], "rectbivariatesplin": 19, "red": 8, "reflect": [8, 21, 30], "region": 0, "regular": [], "regulargridinterpol": [18, 22, 25, 26], "remaind": 22, "remov": 33, "repeat": [2, 20], "repetit": 0, "replac": [], "reshap": [18, 19, 25, 26], "restrict": 3, "return": [8, 21, 30], "rewritten": 0, "rfft": 6, "rh": 33, "right": [0, 1], "round": [8, 20, 21, 22, 30], "row": [1, 2, 4, 9, 33], "rr": 28, "rstride": [18, 19, 22], "run": 0, "rung": [28, 30], "sai": 3, "same": 26, "save": [8, 21, 30], "scale": 29, "scatter": [], "scheme": 1, "scipi": [0, 1, 2, 4, 9, 10, 14, 15, 16, 17, 18, 19, 22, 23, 24, 25, 26, 27, 31, 32, 33], "second": 0, "see": 0, "self": [], "semilogi": [1, 9, 14, 29, 31], "sequenc": [9, 29], "sequenti": [8, 21, 30], "set": [4, 5, 6, 7, 8, 9, 21, 25, 26, 30], "set_alpha": [8, 21, 30], "set_data": [8, 21, 30], "set_xlabel": [8, 21, 30], "set_xlim": 12, "set_xlim3d": [8, 21, 22, 30], "set_ylabel": [8, 21, 30], "set_ylim3d": [8, 21, 22, 30], "set_zlabel": [8, 21, 30], "set_zlim3d": [8, 21, 22, 30], "shape": [1, 17], "siam": 0, "sigmin": 27, "similar": 32, "sin": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 13, 18, 19, 20, 23], "sinc": 3, "sinh": [15, 32], "site": [], "sixth": 1, "size": [], "smaller": 27, "smooth": 0, "so": 0, "solv": [0, 18, 19, 21, 22, 25, 26, 27], "some": [0, 3], "sort": [10, 23], "spars": 1, "sparsiti": 18, "special": [24, 31], "spectral": [5, 6, 7], "spectral_matlab": 0, "spy": 18, "sqrt": 31, "squar": 3, "stabil": 0, "step": [8, 16, 21, 22, 30], "still": 0, "str": [4, 5, 6, 7, 11, 13, 18, 19, 20, 22, 29], "strip": 9, "style": 0, "subplot": [3, 4, 5, 6, 7, 9, 11, 12, 13, 14, 17, 18, 19, 20, 22, 24, 25, 26, 28, 31], "svd": 27, "svdval": 27, "svg": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "syntaxwarn": [9, 29], "t": [1, 8, 9, 17, 21, 22, 24, 29, 30], "tan": [2, 4, 9], "tc": [9, 29], "tdata": [8, 21, 30], "teach": 0, "tensor": [25, 26], "text": [1, 4, 5, 6, 7, 11, 29, 31], "textrm": 3, "th": 0, "them": [0, 1, 25, 26], "thi": [8, 21, 26, 30], "thing": [], "think": 0, "time": [8, 19, 21, 22, 30], "titl": [1, 4, 5, 6, 7, 9, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 22, 24, 25, 26, 27, 28, 29, 32, 33], "tmax": [8, 21, 30], "to_html5_video": [8, 21, 30], "toeplitz": [1, 2, 4, 9, 10, 14, 23], "toepliz": 2, "tplot": [8, 21], "traceback": [], "trefethen": 0, "true": [1, 2, 3, 8, 11, 12, 13, 20, 21, 25, 26, 30, 31, 32, 33], "try": [8, 21, 30], "tt": [21, 22], "tutori": [], "u": [1, 2, 8, 10, 11, 13, 15, 16, 17, 18, 19, 21, 22, 25, 26, 30, 32, 33], "u_": [1, 15, 16, 17, 18, 19, 21, 22, 25, 26, 30, 32, 33], "u_t": 30, "u_x": 30, "udata": 30, "unew": 16, "up": [4, 5, 6, 7, 8, 9, 21, 25, 26, 30], "updat": 7, "uprim": [1, 2], "us": [0, 1, 2, 3, 8, 20, 21, 30], "usual": 0, "uu": [11, 13, 15, 16, 17, 18, 19, 25, 26, 32, 33], "uuu": [18, 19, 25, 26], "uxx": 22, "uyi": 22, "v": [3, 4, 5, 6, 7, 8, 9, 14, 17, 21, 22, 24, 25, 26, 27, 29, 30], "v_hat": [5, 6, 8], "valu": [16, 18, 19, 27, 29], "var": [9, 24, 29], "variabl": 0, "vcodec": [8, 21, 30], "vector": [16, 18, 19], "version": 0, "via": 0, "view_init": [8, 21, 22, 30], "visual": 18, "vn": 29, "vn4": 29, "vnew": [8, 21], "vold": [8, 21], "vprime": [4, 5, 6, 7, 9, 14], "vv": [22, 24, 29], "vvnew": 22, "vvold": 22, "vvv": 22, "w": [5, 6, 7, 8, 21, 28, 31], "w1": 22, "w1_hat": 22, "w2": 22, "w2_hat": 22, "w_hat": [5, 6, 8], "w_j": 1, "wai": 0, "want": [8, 21, 30], "watch": 0, "wave": [0, 3, 5, 6], "we": [0, 2, 3, 4, 8, 18, 20, 21, 22, 25, 26, 30], "where": [24, 26], "which": 0, "while": 16, "white": 8, "write": 0, "x": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 29, 30, 31, 32, 33], "x_j": 1, "xgrid": 12, "xlabel": [1, 2, 8, 9, 14, 18, 19, 21, 22, 23, 30, 31, 32, 33], "xlim": [8, 21, 29, 30, 31], "xmax": 3, "xx": [3, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 24, 25, 26, 27, 29, 32, 33], "xxx": [18, 19, 22, 30], "y": [8, 18, 19, 21, 22, 25, 26, 27, 30], "ygrid": 12, "ylabel": [1, 2, 8, 9, 14, 18, 19, 21, 22, 23, 29, 30, 31, 32, 33], "ylim": [8, 21, 30, 31], "you": [0, 1], "your": 0, "yy": [12, 18, 19, 22, 25, 26, 27], "z": [8, 21, 28, 30], "zdir": [8, 21, 30], "zero": [2, 3, 4, 5, 6, 7, 8, 9, 10, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33], "zip": [8, 21, 30], "zz": [12, 27]}, "titles": ["Spectral Methods", "p01: Convergence of fourth order finite differences", "p02: Convergence of periodic spectral method", "p03: Band-limited interpolation", "p04: Periodic spectral differentiation", "p05: Repetition of p04 via FFT", "p05b: Repetition of p05 via real FFT", "p05c: Repetition of p05 using scipy.fftpack.diff", "p06: Variable coefficient wave equation", "p07: Accuracy of periodic spectral differentiation", "p08: Eigenvalues of harmonic oscillator", "p09: Polynomial interpolation in equispaced and chebyshev points", "p10: Polynomials and corresponding equipotential curves", "p11: Chebyshev differentiation of a smooth function", "p12: Accuracy of Chebyshev spectral differentiation", "p13: Solve linear BVP", "p14 - Solve nonlinear BVP", "p15 - Solve eigenvalue BVP", "p16: Poisson equation in 2-D", "p17: Helmholtz Equation in 2-D", "p18: Chebyshev differentiation via FFT", "p19: Second order Wave Equation on Chebyshev Grid", "p20: Second order wave equation in 2-D via FFT", "p21: Eigenvalues of Mathieu operator", "p22: 5\u2019th eigenvector of Airy equation", "p23: Eigenvalues of Laplacian in 2-D", "p23a: Eigenvalues of perturbed Laplacian in 2-D", "p24: Pseudospectra of Davies\u2019s complex harmonic oscillator", "p25: Stability regions for ODE formulas", "p26: Eigenvalues of 2nd order Chebyshev diff. matrix", "p27: Solve KdV equation", "p30: Spectral integration, ODE style", "p32: Solve linear BVP", "p33: Solve linear BVP, Neumann bc"], "titleterms": {"": 27, "0": [], "1": [], "2": [18, 19, 22, 25, 26], "2nd": 29, "4x": [], "5": 24, "accuraci": [9, 14], "airi": 24, "anim": [8, 21, 30], "band": 3, "bc": 33, "boundari": [], "bvp": [15, 16, 17, 32, 33], "chebyshev": [11, 13, 14, 20, 21, 29], "clenshaw": 31, "coeffici": 8, "complex": 27, "content": 0, "converg": [1, 2], "correspond": 12, "curti": 31, "curv": 12, "d": [18, 19, 22, 25, 26], "davi": 27, "diff": [7, 29], "differ": 1, "differenti": [4, 9, 13, 14, 20], "eigenvalu": [10, 17, 23, 25, 26, 29], "eigenvector": 24, "equat": [8, 18, 19, 21, 22, 24, 30], "equipotenti": 12, "equispac": 11, "exercis": 1, "exp": [], "fft": [5, 6, 20, 22], "fftpack": 7, "finit": 1, "formula": 28, "fourth": 1, "function": 13, "gauss": 31, "grid": 21, "harmon": [10, 27], "helmholtz": 19, "integr": 31, "interpol": [3, 11], "iter": [], "kdv": 30, "lambda": [], "laplacian": [25, 26], "legendr": 31, "limit": 3, "linear": [15, 32, 33], "make": [8, 21, 30], "mathieu": 23, "matrix": 29, "method": [0, 2], "neumann": 33, "nonlinear": 16, "od": [28, 31], "oper": 23, "order": [1, 21, 22, 29], "oscil": [10, 27], "p01": 1, "p02": 2, "p03": 3, "p04": [4, 5], "p05": [5, 6, 7], "p05b": 6, "p05c": 7, "p06": 8, "p07": 9, "p08": 10, "p09": 11, "p10": 12, "p11": 13, "p12": 14, "p13": 15, "p14": 16, "p15": 17, "p16": 18, "p17": 19, "p18": 20, "p19": 21, "p20": 22, "p21": 23, "p22": 24, "p23": 25, "p23a": 26, "p24": 27, "p25": 28, "p26": 29, "p27": 30, "p30": 31, "p32": 32, "p33": 33, "period": [2, 4, 9], "perturb": 26, "point": 11, "poisson": 18, "polynomi": [11, 12], "pseudospectra": 27, "r": [], "real": 6, "region": 28, "repeat": 31, "repetit": [5, 6, 7], "scipi": 7, "second": [21, 22], "smooth": 13, "solv": [15, 16, 17, 30, 32, 33], "spectral": [0, 2, 4, 9, 14, 31], "stabil": 28, "style": 31, "tabl": 0, "th": 24, "u": [], "u_": [], "us": 7, "variabl": 8, "via": [5, 6, 20, 22], "wave": [8, 21, 22], "x": [], "xx": []}}) \ No newline at end of file