From a1c6a50eac81ed96db23d562f5428b68603a91fe Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Wed, 17 Jun 2020 00:09:20 +0200 Subject: [PATCH] Add missing math styling on array concatenation helper variables --- chapters/arrays.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chapters/arrays.tex b/chapters/arrays.tex index 364298460..93fcda1da 100644 --- a/chapters/arrays.tex +++ b/chapters/arrays.tex @@ -662,8 +662,8 @@ \subsection{Array Concatenation}\doublelabel{array-concatenation} $k$ has to characterize an existing dimension, i.e., $1 \leq k \leq \text{\lstinline!ndims(A)!} = \text{\lstinline!ndims(B)!} = \text{\lstinline!ndims(C)!}$; $k$ shall be a parameter expression of \lstinline!Integer! type. \item Size matching: Arrays \lstinline!A!, \lstinline!B!, \lstinline!C!, \ldots must have identical array sizes - with the exception of the size of dimension $k$, i.e., \lstinline!size(A,j)! = - \lstinline!size(B,j)!, for $1 \leq j \leq \text{\lstinline!ndims(A)!}$ and $j \neq k$. + with the exception of the size of dimension $k$, i.e., \lstinline[mathescape=true]!size(A, $j$)! = + \lstinline[mathescape=true]!size(B, $j$)!, for $1 \leq j \leq \text{\lstinline!ndims(A)!}$ and $j \neq k$. \end{itemize} \begin{example}