From e143772ae655c2c1551892b5fca0bbb67a6f772e Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Tue, 16 Jun 2020 23:09:10 +0200 Subject: [PATCH] Change one instance of incorrect use of math into \lstinline --- chapters/arrays.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/arrays.tex b/chapters/arrays.tex index 65bd9b5a9..aa03060b1 100644 --- a/chapters/arrays.tex +++ b/chapters/arrays.tex @@ -309,7 +309,7 @@ \subsection{Specialized Array Constructor Functions}\doublelabel{specialized-arr Return the $n_{1} \times n_{2} \times n_{3} \times \ldots$ \lstinline!Integer! array with all elements equal to one ($n_{i} \geq 0$). The function needs one or more arguments, that is \lstinline!ones()! is not legal.\\ \hline \lstinline[mathescape=true]!fill(s, $n_{1}$, $n_{2}$, $n_{3}$, $\ldots$)! & -Returns the $n_{1} \times n_{2} \times n_{3} \times \ldots$ array with all elements equal to scalar or array expression $s$ +Returns the $n_{1} \times n_{2} \times n_{3} \times \ldots$ array with all elements equal to scalar or array expression \lstinline!s! ($n_{i} \geq 0$). The returned array has the same type as \lstinline!s!. Recursive definition: \lstinline[mathescape=true]!fill(s, $n_{1}$, $n_{2}$, $n_{3}$, $\ldots$)! =