Skip to content

Commit

Permalink
Add decision from #2204 - allowing sum/product of matrices with non-i…
Browse files Browse the repository at this point in the history
…nteger indexing.

Note that the main point of #2204 is not decided as far as I can tell.
  • Loading branch information
HansOlsson committed May 10, 2019
1 parent 794d7dd commit 0fcdbab
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 @@ -402,7 +402,7 @@ \subsection{Reduction Functions and Operators}\doublelabel{reduction-functions-a
&
\begin{tabular}{@{}p{10cm}@{}}
Returns the scalar sum of all the elements of array expression:\\
\lstinline!A[1,...,1]+A[2,...,1]+....+A[end,...,1]+A[end,...,end]!
\lstinline!=sum(A[j,k,...]) for j,k,...!
\end{tabular}\\ \hline
\begin{tabular}{@{}p{5cm}@{}}
\lstinline!sum(e(i, ..., j)!\\
Expand All @@ -423,7 +423,7 @@ \subsection{Reduction Functions and Operators}\doublelabel{reduction-functions-a
&
\begin{tabular}{@{}p{10cm}@{}}
Returns the scalar product of all the elements of array expression A.\\
A[1,...,1]*A[2,...,1]*....*A[end,...,1]*A[end,...,end]
\lstinline!=product(A[j,k,...] for j,k,...!
\end{tabular}\\ \hline
\begin{tabular}{@{}p{4cm}@{}}
\lstinline!product(e(i, ..., j)!\\
Expand Down

0 comments on commit 0fcdbab

Please sign in to comment.