Skip to content

Commit

Permalink
Change one instance of incorrect use of math into \lstinline
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jun 16, 2020
1 parent a9f34b9 commit e143772
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/arrays.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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$)! =
Expand Down

0 comments on commit e143772

Please sign in to comment.