Skip to content

Commit 1c35661

Browse files
fix docstring TeX rendering for u0
1 parent 84badef commit 1c35661

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

src/ode/ode_linear_prob.jl

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Linear ODE
88
\\frac{du}{dt} = αu
99
```
1010
11-
with initial condition ``u0=1/2``, ``α=1.01``, and solution
11+
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
1212
1313
```math
14-
u(t) = u0e^{αt}
14+
u(t) = u_0e^{αt}
1515
```
1616
1717
with Float64s. The parameter is ``α``
@@ -27,10 +27,10 @@ Linear ODE
2727
\\frac{du}{dt} = αu
2828
```
2929
30-
with initial condition ``u0=1/2``, ``α=1.01``, and solution
30+
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
3131
3232
```math
33-
u(t) = u0e^{αt}
33+
u(t) = u_0e^{αt}
3434
```
3535
3636
with BigFloats
@@ -48,10 +48,10 @@ f_2dlinear_analytic = (u0,p,t) -> @. u0*exp(p*t)
4848
\\frac{du}{dt} = αu
4949
```
5050
51-
with initial condition ``u0=1/2``, ``α=1.01``, and solution
51+
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
5252
5353
```math
54-
u(t) = u0e^{αt}
54+
u(t) = u_0e^{αt}
5555
```
5656
5757
with Float64s
@@ -67,10 +67,10 @@ prob_ode_2Dlinear = ODEProblem(
6767
\\frac{du}{dt} = αu
6868
```
6969
70-
with initial condition ``u0=1/2``, ``α=1.01``, and solution
70+
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
7171
7272
```math
73-
u(t) = u0e^{αt}
73+
u(t) = u_0e^{αt}
7474
```
7575
7676
with Float64s
@@ -86,10 +86,10 @@ prob_ode_large2Dlinear = ODEProblem(
8686
\\frac{du}{dt} = αu
8787
```
8888
89-
with initial condition ``u0=1/2``, ``α=1.01``, and solution
89+
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
9090
9191
```math
92-
u(t) = u0e^{αt}
92+
u(t) = u_0e^{αt}
9393
```
9494
9595
with BigFloats
@@ -106,10 +106,10 @@ f_2dlinear_notinplace = (u,p,t) -> p*u
106106
\\frac{du}{dt} = αu
107107
```
108108
109-
with initial condition ``u0=1/2``, ``α=1.01``, and solution
109+
with initial condition ``u_0=1/2``, ``α=1.01``, and solution
110110
111111
```math
112-
u(t) = u0e^{αt}
112+
u(t) = u_0e^{αt}
113113
```
114114
115115
on Float64. Purposefully not in-place as a test.

0 commit comments

Comments
 (0)