Skip to content

Commit deab9b7

Browse files
committed
Added folder for wiki images.
1 parent 9a28d49 commit deab9b7

30 files changed

+730
-88
lines changed

fdm-devito-notebooks/01_vib/vib_app.ipynb

+7-7
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"<!-- 0D blood flow? -->\n",
1616
"<!-- waves: 1D blood flow -->\n",
1717
"<!-- general particle laws and velocity verlet, make exercises -->\n",
18-
"<!-- see <htthinspace .://en.wikipedia.org/wiki/Velocity_Verlet> -->\n",
18+
"<!-- see <http://en.wikipedia.org/wiki/Velocity_Verlet> -->\n",
1919
"\n",
2020
"# Applications of vibration models\n",
2121
"<div id=\"vib:app\"></div>\n",
@@ -814,7 +814,7 @@
814814
"In fact (and not surprising!) Figures [vib:app:pendulum:fig_problem](#vib:app:pendulum:fig_problem) and\n",
815815
"[vib:app:pendulum:fig_forces](#vib:app:pendulum:fig_forces) were drawn using Pysketcher.\n",
816816
"The details of the drawings are explained in the\n",
817-
"[Pysketcher tutorial](htthinspace .://hplgit.github.io/pysketcher/doc/web/index.html).\n",
817+
"[Pysketcher tutorial](http://hplgit.github.io/pysketcher/doc/web/index.html).\n",
818818
"Here, we outline how this type of sketch can be used to create an animated\n",
819819
"free body diagram during the motion of a pendulum.\n",
820820
"\n",
@@ -2071,9 +2071,9 @@
20712071
"<https://github.com/hplgit/bumpy>. You may start looking at the\n",
20722072
"\"tutorial\":\n",
20732073
"% if FORMAT == 'pdflatex':\n",
2074-
"\"htthinspace .://hplgit.github.io/bumpy/doc/pub/bumpy.pdf\".\n",
2074+
"\"http://hplgit.github.io/bumpy/doc/pub/bumpy.pdf\".\n",
20752075
"% else:\n",
2076-
"\"htthinspace .://hplgit.github.io/bumpy/doc/pub/bumpy.html\".\n",
2076+
"\"http://hplgit.github.io/bumpy/doc/pub/bumpy.html\".\n",
20772077
"% endif\n",
20782078
"\n",
20792079
"## Bouncing ball\n",
@@ -2172,7 +2172,7 @@
21722172
"\n",
21732173
"1. The ball impacts the ground, recognized by a sufficiently large negative\n",
21742174
" velocity ($v<-\\epsilon_v$). The velocity then changes sign and is\n",
2175-
" reduced by a factor $C_R$, known as the [coefficient of restitution](htthinspace .://en.wikipedia.org/wiki/Coefficient_of_restitution).\n",
2175+
" reduced by a factor $C_R$, known as the [coefficient of restitution](http://en.wikipedia.org/wiki/Coefficient_of_restitution).\n",
21762176
" For plotting purposes, one may set $h=0$.\n",
21772177
"\n",
21782178
"2. The motion stops, recognized by a sufficiently small velocity\n",
@@ -4916,7 +4916,7 @@
49164916
"\n",
49174917
" v[0] = V\n",
49184918
" u[0] = I\n",
4919-
" # Compare with eq 22 in htthinspace .://arxiv.org/pdf/cond-mat/0110585.pdf\n",
4919+
" # Compare with eq 22 in http://arxiv.org/pdf/cond-mat/0110585.pdf\n",
49204920
" for n in range(0, Nt):\n",
49214921
" u_ = u[n] + xi*dt*v[n]\n",
49224922
" v_ = v[n] + 0.5*(1-2*lambda_)*dt*g(u_, v[n])\n",
@@ -5074,7 +5074,7 @@
50745074
"\n",
50755075
" v[0] = V\n",
50765076
" u[0] = I\n",
5077-
" # Compare with eq 22 in htthinspace .://arxiv.org/pdf/cond-mat/0110585.pdf\n",
5077+
" # Compare with eq 22 in http://arxiv.org/pdf/cond-mat/0110585.pdf\n",
50785078
" for n in range(0, Nt):\n",
50795079
" u_ = u[n] + xi*dt*v[n]\n",
50805080
" v_ = v[n] + 0.5*(1-2*lambda_)*dt*g(u_, v[n])\n",

fdm-devito-notebooks/01_vib/vib_gen.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -939,7 +939,7 @@
939939
"[hpl 1: odespy for the generalized problem]\n",
940940
"\n",
941941
"<!-- Discussion of which method is best: -->\n",
942-
"<!-- <htthinspace .://gamedev.stackexchange.com/questions/33694/pros-and-cons-of-different-integrators> -->\n",
942+
"<!-- <http://gamedev.stackexchange.com/questions/33694/pros-and-cons-of-different-integrators> -->\n",
943943
"\n",
944944
"## The Stoermer-Verlet algorithm for the generalized model\n",
945945
"<div id=\"vib:model2x2:gen:StormerVerlet\"></div>\n",

fdm-devito-notebooks/01_vib/vib_undamped.ipynb

+8-8
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@
264264
"successively for $n=1,2,\\ldots,N_t-1$. This numerical scheme sometimes\n",
265265
"goes under the name\n",
266266
"Stoermer's\n",
267-
"method, [Verlet integration](htthinspace .://en.wikipedia.org/wiki/Verlet_integration), or the Leapfrog method\n",
267+
"method, [Verlet integration](http://en.wikipedia.org/wiki/Verlet_integration), or the Leapfrog method\n",
268268
"(one should note\n",
269269
"that Leapfrog is used for many quite different methods for quite\n",
270270
"different differential equations!).\n",
@@ -951,7 +951,7 @@
951951
"\n",
952952
"### Visualizing convergence rates with slope markers\n",
953953
"\n",
954-
"Tony S. Yu has written a script [`plotslopes.py`](htthinspace .://goo.gl/A4Utm7)\n",
954+
"Tony S. Yu has written a script [`plotslopes.py`](http://goo.gl/A4Utm7)\n",
955955
"that is very useful to indicate the slope of a graph, especially\n",
956956
"a graph like $\\ln E = r\\ln \\Delta t + \\ln C$ arising from the model\n",
957957
"$E=C\\Delta t^r$. A copy of the script resides in the \"`src/vib`\": \"${src_vib}\"\n",
@@ -1429,12 +1429,12 @@
14291429
"by the mouse. For example, we can show four periods of several signals in\n",
14301430
"several plots and then scroll with the mouse through the rest of the\n",
14311431
"simulation *simultaneously* in all the plot windows.\n",
1432-
"The [Bokeh](htthinspace .://bokeh.pydata.org/en/latest) plotting library offers such tools, but the plots must be displayed in\n",
1432+
"The [Bokeh](http://bokeh.pydata.org/en/latest) plotting library offers such tools, but the plots must be displayed in\n",
14331433
"a web browser. The documentation of Bokeh is excellent, so here we just\n",
14341434
"show how the library can be used to compare a set of $u$ curves corresponding\n",
14351435
"to long time simulations. (By the way, the guidance to correct\n",
14361436
"pronunciation of Bokeh in\n",
1437-
"the [documentation](htthinspace .://bokeh.pydata.org/en/0.10.0/docs/faq.html#how-do-you-pronounce-bokeh) and on [Wikipedia](https://en.wikipedia.org/wiki/Bokeh) is not directly compatible with a [YouTube video](https://www.youtube.com/watch?v=OR8HSHevQTM)...).\n",
1437+
"the [documentation](http://bokeh.pydata.org/en/0.10.0/docs/faq.html#how-do-you-pronounce-bokeh) and on [Wikipedia](https://en.wikipedia.org/wiki/Bokeh) is not directly compatible with a [YouTube video](https://www.youtube.com/watch?v=OR8HSHevQTM)...).\n",
14381438
"\n",
14391439
"Imagine we have performed experiments for a set of $\\Delta t$ values.\n",
14401440
"We want each curve, together with the exact solution, to appear in\n",
@@ -1965,7 +1965,7 @@
19651965
"source": [
19661966
"The last line follows from the relation\n",
19671967
"$\\cos x - 1 = -2\\sin^2(x/2)$ (try `cos(x)-1` in\n",
1968-
"[wolframalpha.com](htthinspace .://www.wolframalpha.com) to see the formula).\n",
1968+
"[wolframalpha.com](http://www.wolframalpha.com) to see the formula).\n",
19691969
"\n",
19701970
"The scheme ([7](#vib:ode1:step4))\n",
19711971
"with $u^n=Ie^{i\\tilde\\omega\\Delta t\\, n}$ inserted now gives"
@@ -2301,7 +2301,7 @@
23012301
"cell_type": "markdown",
23022302
"metadata": {},
23032303
"source": [
2304-
"by L'Hopital's rule. This result could also been computed [WolframAlpha](htthinspace .://www.wolframalpha.com/input/?i=%282%2Fx%29*asin%28w*x%2F2%29+as+x-%3E0), or\n",
2304+
"by L'Hopital's rule. This result could also been computed [WolframAlpha](http://www.wolframalpha.com/input/?i=%282%2Fx%29*asin%28w*x%2F2%29+as+x-%3E0), or\n",
23052305
"we could use the limit functionality in `sympy`:"
23062306
]
23072307
},
@@ -2498,7 +2498,7 @@
24982498
"([18](#vib:ode1:tildeomega)) may be larger than 1, i.e., $\\omega\\Delta\n",
24992499
"t/2 > 1$. In this case, $\\sin^{-1}(\\omega\\Delta t/2)$ has a complex\n",
25002500
"value and therefore $\\tilde\\omega$ becomes complex. Type, for\n",
2501-
"example, `asin(x)` in [wolframalpha.com](htthinspace .://www.wolframalpha.com) to see basic properties of $\\sin^{-1}\n",
2501+
"example, `asin(x)` in [wolframalpha.com](http://www.wolframalpha.com) to see basic properties of $\\sin^{-1}\n",
25022502
"(x)$).\n",
25032503
"\n",
25042504
"A complex $\\tilde\\omega$ can be written $\\tilde\\omega = \\tilde\\omega_r\n",
@@ -4320,7 +4320,7 @@
43204320
"The scheme\n",
43214321
"([54](#vib:model2x2:EulerCromer:veq1b))-([55](#vib:model2x2:EulerCromer:ueq1b))\n",
43224322
"goes under several names: forward-backward scheme, [semi-implicit\n",
4323-
"Euler method](htthinspace .://en.wikipedia.org/wiki/Semi-implicit_Euler_method),\n",
4323+
"Euler method](http://en.wikipedia.org/wiki/Semi-implicit_Euler_method),\n",
43244324
"semi-explicit Euler, symplectic Euler,\n",
43254325
"Newton-Stoermer-Verlet,\n",
43264326
"and Euler-Cromer. We shall stick to the latter name.\n",

fdm-devito-notebooks/02_wave/wave1D_fd2.ipynb

+6-4
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"Boundary conditions\n",
8080
"that specify the value of $\\partial u/\\partial n$\n",
8181
"(or shorter $u_n$) are known as\n",
82-
"[Neumann](htthinspace .://en.wikipedia.org/wiki/Neumann_boundary_condition) conditions, while [Dirichlet conditions](htthinspace .://en.wikipedia.org/wiki/Dirichlet_conditions)\n",
82+
"[Neumann](http://en.wikipedia.org/wiki/Neumann_boundary_condition) conditions, while [Dirichlet conditions](http://en.wikipedia.org/wiki/Dirichlet_conditions)\n",
8383
"refer to specifications of $u$.\n",
8484
"When the values are zero ($\\partial u/\\partial n=0$ or $u=0$) we speak\n",
8585
"about *homogeneous* Neumann or Dirichlet conditions.\n",
@@ -241,7 +241,6 @@
241241
"## Implementation of Neumann conditions\n",
242242
"<div id=\"wave:pde2:Neumann:impl\"></div>\n",
243243
"\n",
244-
"\n",
245244
"We have seen in the preceding section\n",
246245
"that the special formulas for the boundary points\n",
247246
"arise from replacing $u_{i-1}^n$ by $u_{i+1}^n$ when computing\n",
@@ -342,6 +341,9 @@
342341
"write $n=0$ and $t_0$ rather than $n=\\mathcal{I}_t^0$. We also avoid notation\n",
343342
"like $x_{\\mathcal{I}_x^{-1}}$ and will instead use $x_i$, $i={\\mathcal{I}_x^{-1}}$.\n",
344343
"\n",
344+
"[wave:pde2:Neumann:impl](#wave:pde2:Neumann:impl)\n",
345+
"\n",
346+
"\n",
345347
"The Python code associated with index sets applies the following\n",
346348
"conventions:\n",
347349
"\n",
@@ -473,7 +475,7 @@
473475
"source": [
474476
"**Notice.**\n",
475477
"\n",
476-
"The program [`wave1D_dn.py`](${src_wave}/wave1D/wave1D_dn.py)\n",
478+
"The program [`wave1D_dn.py`](src-wave/wave1D/python/wave1D_dn.py)\n",
477479
"applies the index set notation and\n",
478480
"solves the 1D wave equation $u_{tt}=c^2u_{xx}+f(x,t)$ with\n",
479481
"quite general boundary and initial conditions:\n",
@@ -2192,7 +2194,7 @@
21922194
"More details on storing the solution in files appear in\n",
21932195
"in\n",
21942196
"the document\n",
2195-
"[Scientific software engineering; wave equation case](htthinspace .://tinyurl.com/k3sdbuv/pub/softeng2)\n",
2197+
"[Scientific software engineering; wave equation case](http://tinyurl.com/k3sdbuv/pub/softeng2)\n",
21962198
"[[Langtangen_deqbook_softeng2]](#Langtangen_deqbook_softeng2).\n",
21972199
"\n",
21982200
"## Pulse propagation in two media\n",

fdm-devito-notebooks/02_wave/wave1D_prog.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1194,7 +1194,7 @@
11941194
"in principle, be performed simultaneously. That is, vectorization not\n",
11951195
"only speeds up the code on serial computers, but also makes it easy to\n",
11961196
"exploit parallel computing. Actually, there are Python tools like\n",
1197-
"[Numba](htthinspace .://numba.pydata.org) that can automatically turn\n",
1197+
"[Numba](http://numba.pydata.org) that can automatically turn\n",
11981198
"vectorized code into parallel code.\n",
11991199
"\n",
12001200
"\n",

fdm-devito-notebooks/02_wave/wave2D_prog.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -912,10 +912,10 @@
912912
"more powerful and with higher visual quality).\n",
913913
"\n",
914914
"The official documentation of the `mlab` module is provided in two\n",
915-
"places, one for the [basic functionality](htthinspace .://docs.enthought.com/mayavi/mayavi/auto/mlab_helper_functions.html)\n",
916-
"and one for [further functionality](htthinspace .://docs.enthought.com/mayavi/mayavi/auto/mlab_other_functions.html).\n",
915+
"places, one for the [basic functionality](http://docs.enthought.com/mayavi/mayavi/auto/mlab_helper_functions.html)\n",
916+
"and one for [further functionality](http://docs.enthought.com/mayavi/mayavi/auto/mlab_other_functions.html).\n",
917917
"Basic [figure\n",
918-
"handling](htthinspace .://docs.enthought.com/mayavi/mayavi/auto/mlab_figure.html)\n",
918+
"handling](http://docs.enthought.com/mayavi/mayavi/auto/mlab_figure.html)\n",
919919
"is very similar to the one we know from Matplotlib. Just as for\n",
920920
"Matplotlib, all plotting commands you do in `mlab` will go into the\n",
921921
"same figure, until you manually change to a new figure.\n",

fdm-devito-notebooks/02_wave/wave_analysis.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@
323323
"known as the *Nyquist frequency*.\n",
324324
"Within the range of\n",
325325
"relevant frequencies $(0,\\pi/\\Delta x]$ one defines\n",
326-
"the [discrete Fourier transform](htthinspace .://en.wikipedia.org/wiki/Discrete_Fourier_transform), using $N_x+1$ discrete frequencies:"
326+
"the [discrete Fourier transform](http://en.wikipedia.org/wiki/Discrete_Fourier_transform), using $N_x+1$ discrete frequencies:"
327327
]
328328
},
329329
{

fdm-devito-notebooks/02_wave/wave_app.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -834,7 +834,7 @@
834834
"([22](#wave:app:sound:prho)) is a constitutive law relating\n",
835835
"density to pressure by thermodynamic considerations.\n",
836836
"A typical model\n",
837-
"for ([22](#wave:app:sound:prho)) is the so-called [isentropic relation](htthinspace .://en.wikipedia.org/wiki/Isentropic_process), valid for\n",
837+
"for ([22](#wave:app:sound:prho)) is the so-called [isentropic relation](http://en.wikipedia.org/wiki/Isentropic_process), valid for\n",
838838
"adiabatic processes where there is no heat transfer:"
839839
]
840840
},

fdm-devito-notebooks/02_wave/wave_app_exer.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -551,9 +551,9 @@
551551
"Create some fancy 3D visualization of the water waves *and* the subsea hill\n",
552552
"in [Problem 6: Earthquake-generated tsunami over a 3D hill](#wave:app:exer:tsunami2D:hill).\n",
553553
"Try to make the hill transparent. Possible visualization tools are\n",
554-
"[Mayavi](htthinspace .://code.enthought.com/projects/mayavi/),\n",
555-
"[Paraview](htthinspace .://www.paraview.org/), and\n",
556-
"[OpenDX](htthinspace .://www.opendx.org/).\n",
554+
"[Mayavi](http://code.enthought.com/projects/mayavi/),\n",
555+
"[Paraview](http://www.paraview.org/), and\n",
556+
"[OpenDX](http://www.opendx.org/).\n",
557557
"Filename: `tsunami2D_hill_viz`.\n",
558558
"\n",
559559
"<!-- --- end exercise --- -->\n",

fdm-devito-notebooks/03_diffu/diffu_app.ipynb

+4-4
Original file line numberDiff line numberDiff line change
@@ -1098,15 +1098,15 @@
10981098
"## Propagation of electrical signals in the brain\n",
10991099
"\n",
11001100
"\n",
1101-
"<!-- <htthinspace .://icwww.epfl.ch/~gerstner/SPNM/node17.html> -->\n",
1102-
"<!-- <htthinspace .://www.uio.no/studier/emner/matnat/ifi/INF5610/h09/Lecture04.pdf> -->\n",
1103-
"<!-- <htthinspace .://people.mbi.ohio-state.edu/schwemmer.2/Publications/Schwemmer_Dissertation_Final.pdf> -->\n",
1101+
"<!-- <http://icwww.epfl.ch/~gerstner/SPNM/node17.html> -->\n",
1102+
"<!-- <http://www.uio.no/studier/emner/matnat/ifi/INF5610/h09/Lecture04.pdf> -->\n",
1103+
"<!-- <http://people.mbi.ohio-state.edu/schwemmer.2/Publications/Schwemmer_Dissertation_Final.pdf> -->\n",
11041104
"<!-- The book by Peskin & ... -->\n",
11051105
"\n",
11061106
"One can make a model of how electrical signals are propagated along the\n",
11071107
"neuronal fibers that receive synaptic inputs in the brain. The signal\n",
11081108
"propagation is one-dimensional and can, in the simplest cases, be\n",
1109-
"governed by the [Cable equation](htthinspace .://en.wikipedia.org/wiki/Cable_equation):"
1109+
"governed by the [Cable equation](http://en.wikipedia.org/wiki/Cable_equation):"
11101110
]
11111111
},
11121112
{

fdm-devito-notebooks/03_diffu/diffu_exer.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
"to zero. Integrate this expression and derive\n",
172172
"([4](#diffu:exer:estimates:p1:result)).\n",
173173
"\n",
174-
"<!-- <htthinspace .://www.ann.jussieu.fr/~frey/cours/UdC/ma691/ma691_ch6.pdf> -->\n",
174+
"<!-- <http://www.ann.jussieu.fr/~frey/cours/UdC/ma691/ma691_ch6.pdf> -->\n",
175175
"\n",
176176
"**b)**\n",
177177
"Now we address a slightly different problem,"

fdm-devito-notebooks/03_diffu/diffu_fd1.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -1115,7 +1115,7 @@
11151115
"\n",
11161116
"<!-- [movie](${doc_notes}/pub/diffu/html/mov-diffu/diffu1D_u0_FE_plug/movie.ogg) -->\n",
11171117
"<!-- Does not work: -->\n",
1118-
"<!-- htthinspace .://tinyurl.com/pu5uyfn/pub/diffu/html/mov-diffu/diffu1D_u0_FE_plug/movie.ogg -->\n",
1118+
"<!-- http://tinyurl.com/pu5uyfn/pub/diffu/html/mov-diffu/diffu1D_u0_FE_plug/movie.ogg -->\n",
11191119
"<!-- Works: -->\n",
11201120
"<!-- https://raw.githubusercontent.com/hplgit/fdm-book/master/doc/.src/book/mov-diffu/diffu1D_u0_FE_plug/movie.ogg -->\n",
11211121
"\n",

fdm-devito-notebooks/03_diffu/diffu_fd3.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -987,7 +987,7 @@
987987
"\n",
988988
"**`scipy.linalg` versus `numpy.linalg`.**\n",
989989
"\n",
990-
"Quote from the [SciPy documentation](htthinspace .://docs.scipy.org/doc/scipy/reference/tutorial/linalg.html):\n",
990+
"Quote from the [SciPy documentation](http://docs.scipy.org/doc/scipy/reference/tutorial/linalg.html):\n",
991991
"\n",
992992
"`scipy.linalg` contains all the functions in `numpy.linalg`\n",
993993
"plus some other more advanced ones not contained in `numpy.linalg`.\n",
@@ -1766,7 +1766,7 @@
17661766
"The `spsolve` function in `scipy.sparse.linalg` is an efficient\n",
17671767
"version of Gaussian elimination suited for matrices described by\n",
17681768
"diagonals. The algorithm is known as *sparse Gaussian elimination*,\n",
1769-
"and `spsolve` calls up a well-tested C code called [SuperLU](htthinspace .://crd-legacy.lbl.gov/~xiaoye/SuperLU/).\n",
1769+
"and `spsolve` calls up a well-tested C code called [SuperLU](http://crd-legacy.lbl.gov/~xiaoye/SuperLU/).\n",
17701770
"\n",
17711771
"The complete code utilizing `spsolve`\n",
17721772
"is found in the `solver_sparse` function in the file\n",

fdm-devito-notebooks/03_diffu/diffu_rw.ipynb

+2-2
Original file line numberDiff line numberDiff line change
@@ -1010,7 +1010,7 @@
10101010
"source": [
10111011
"What is the gain of the vectorized implementations? One important gain\n",
10121012
"is that each vectorized operation can be automatically parallelized\n",
1013-
"if one applies a parallel `numpy` library like [Numba](htthinspace .://numba.pydata.org). On a single CPU, however, the speed up of the vectorized operations\n",
1013+
"if one applies a parallel `numpy` library like [Numba](http://numba.pydata.org). On a single CPU, however, the speed up of the vectorized operations\n",
10141014
"is also significant. With $N=1,000$ and 50,000 repeated walks,\n",
10151015
"the two vectorized versions run about 25 and 18 times faster than the scalar\n",
10161016
"version, with `random_walks1D_vec1` being fastest.\n",
@@ -1381,7 +1381,7 @@
13811381
"metadata": {},
13821382
"source": [
13831383
"Positions beyond the limits of the $x$ axis appear with a value.\n",
1384-
"[A long file](htthinspace .://bit.ly/1UbULeH)\n",
1384+
"[A long file](http://bit.ly/1UbULeH)\n",
13851385
"contains the complete ascii plot corresponding to the\n",
13861386
"function `run_random_walk` above.\n",
13871387
"<!-- \"https://github.com/hplgit/fdm-book/blob/master/doc/.src/chapters/diffu/fig-diffu/rw_ascii.txt\" -->\n",

fdm-devito-notebooks/05_nonlin/nonlin_exer.ipynb

+3-3
Original file line numberDiff line numberDiff line change
@@ -1321,7 +1321,7 @@
13211321
"each cell, expand the answer and simplify. You can ask `sympy` for\n",
13221322
"LaTeX code and render it either by creating a LaTeX document and\n",
13231323
"compiling it to a PDF document or by using\n",
1324-
"<htthinspace .://latex.codecogs.com> to display LaTeX formulas in a web\n",
1324+
"<http://latex.codecogs.com> to display LaTeX formulas in a web\n",
13251325
"page. Here are some appropriate Python statements\n",
13261326
"for the latter purpose:"
13271327
]
@@ -1351,9 +1351,9 @@
13511351
"# page with an interactive editor and display area where the\n",
13521352
"# formula can be further edited\n",
13531353
"text = \"\"\"\n",
1354-
"<a href=\"htthinspace .://www.codecogs.com/eqnedit.php?latex=%(html_code)s\"\n",
1354+
"<a href=\"http://www.codecogs.com/eqnedit.php?latex=%(html_code)s\"\n",
13551355
" target=\"_blank\">\n",
1356-
"<img src=\"htthinspace .://latex.codecogs.com/gif.latex?%(html_code)s\"\n",
1356+
"<img src=\"http://latex.codecogs.com/gif.latex?%(html_code)s\"\n",
13571357
" title=\"%(latex_code)s\"/>\n",
13581358
"</a>\n",
13591359
" \"\"\" % vars()\n",

0 commit comments

Comments
 (0)