Skip to content

Commit

Permalink
Write "j'th" in listing comment
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jan 7, 2021
1 parent 78402f2 commit 620c253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/arrays.tex
Expand Up @@ -971,8 +971,8 @@ \section{Array Indexing}\label{array-indexing}
\begin{example}
Array indexing expressions:
\begin{lstlisting}[language=modelica]
a[:, j] // Vector of the j:th column of a.
a[j] // Vector of the j:th row of a. Same as: a[j, :]
a[:, j] // Vector of the j'th column of a.
a[j] // Vector of the j'th row of a. Same as: a[j, :]
a[j : k] // Same as: {a[j], a[j+1], $\ldots$, a[k]}
a[:, j : k] // Same as: [a[:, j], a[:, j+1], $\ldots$, a[:, k]]
\end{lstlisting}
Expand Down

0 comments on commit 620c253

Please sign in to comment.