Skip to content

Commit

Permalink
Also inline code for end
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed May 17, 2019
1 parent 9daeb1e commit 72eb9dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/arrays.tex
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ \subsection{Reduction Functions and Operators}\doublelabel{reduction-functions-a
e(u{[}1{]},...
,v{[}1{]})+e(u{[}2{]},... ,v{[}1{]})+... +e(u{[}end{]},...
,v{[}1{]})+...+e(u{[}end{]},... ,v{[}end{]})
For non-\lstinline!Integer! indexing this uses all valid indices instead of 1..end.
For non-\lstinline!Integer! indexing this uses all valid indices instead of 1..\lstinline!end!.
The type of sum(e(i, ..., j) for i in u, ..., j
in v) is the same as the type of e(i,...j).
\end{tabular}\\ \hline
Expand All @@ -441,7 +441,7 @@ \subsection{Reduction Functions and Operators}\doublelabel{reduction-functions-a
e(u[1],...,v[1])*e(u[2],...,v[1])*...
*(u[end],...,v[1])*...*e(u[end],...,v[end])
\end{lstlisting}
For non-\lstinline!Integer! indexing this uses all valid indices instead of 1..end.
For non-\lstinline!Integer! indexing this uses all valid indices instead of 1..\lstinline!end!.
The type of product(e(i, ..., j) for i in u, ..., j
in v) is the same as the type of e(i,...j).
\end{tabular}
Expand Down

0 comments on commit 72eb9dc

Please sign in to comment.