Skip to content

Commit 431c1b5

Browse files
committed
fix doc typos
1 parent fe91999 commit 431c1b5

File tree

3 files changed

+5
-6
lines changed

3 files changed

+5
-6
lines changed

docs/source/api/operators.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1122,7 +1122,7 @@
11221122
"cell_type": "markdown",
11231123
"metadata": {},
11241124
"source": [
1125-
"Affine parametric operators are instantiated with a function $\\boldsymbol{theta}_{\\ell}(\\mu) = [~\\theta_{ell}^{(0)}(\\bfmu)~~\\cdots~~\\theta_{ell}^{(A_{\\ell}-1)}(\\bfmu)~]\\trp$ for the affine expansion coefficients, the number of terms $A_{\\ell}$ in the expansion, and with or without the operator matrices $\\Ohat_{\\ell}^{(1)},\\ldots,\\Ohat_{\\ell}^{(A_{\\ell})}$."
1125+
"Affine parametric operators are instantiated with a function $\\boldsymbol{\\theta}_{\\ell}(\\mu) = [~\\theta_{\\ell}^{(0)}(\\bfmu)~~\\cdots~~\\theta_{\\ell}^{(A_{\\ell}-1)}(\\bfmu)~]\\trp$ for the affine expansion coefficients, the number of terms $A_{\\ell}$ in the expansion, and with or without the operator matrices $\\Ohat_{\\ell}^{(1)},\\ldots,\\Ohat_{\\ell}^{(A_{\\ell})}$."
11261126
]
11271127
},
11281128
{

docs/source/tutorials/basics.ipynb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
"metadata": {},
8080
"outputs": [],
8181
"source": [
82-
"import time\n",
8382
"import numpy as np\n",
8483
"import pandas as pd\n",
8584
"import scipy.sparse\n",

docs/source/tutorials/inputs.ipynb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@
9999
"cell_type": "markdown",
100100
"metadata": {},
101101
"source": [
102-
"In this section a ROM is trained using data collected for a single choice of the input function $u(t)$."
102+
"In this section a ROM is trained using data collected for a single choice of the input function $u(t).$"
103103
]
104104
},
105105
{
@@ -113,7 +113,7 @@
113113
"cell_type": "markdown",
114114
"metadata": {},
115115
"source": [
116-
"As in the last tutorial, we use a centered finite difference approximation for the spatial derivative to arrive at a finite-dimensional system of ordinary differential equations.\n",
116+
"As in the last tutorial, we use a centered finite difference approximation for the spatial derivative to arrive at a system of $n$ ordinary differential equations.\n",
117117
"This time, due to the nonzero boundary conditions, the system takes the form\n",
118118
"\n",
119119
"$$\n",
@@ -124,7 +124,7 @@
124124
"\\end{aligned}\n",
125125
"$$ (eq_inputs_fom)\n",
126126
"\n",
127-
"where $\\A\\in\\RR^{n\\times n}$ and $\\B\\in\\RR^{n}$.\n",
127+
"where $\\q:\\RR\\to\\RR^n$, $\\A\\in\\RR^{n\\times n}$, and $\\B\\in\\RR^{n}$.\n",
128128
"The system {eq}`eq_inputs_fom` is the _full-order model_ (FOM), which we will use to generate training data for the time domain $[0, T'] \\subset [0, T]$."
129129
]
130130
},
@@ -226,7 +226,7 @@
226226
"\n",
227227
"# Construct the temporal domain.\n",
228228
"T = 1\n",
229-
"K = T * 10**3 + 1\n",
229+
"K = 10**3 + 1\n",
230230
"t_all = np.linspace(0, T, K)\n",
231231
"dt = t_all[1] - t_all[0]\n",
232232
"\n",

0 commit comments

Comments
 (0)