Skip to content

Commit

Permalink
Include proposed changes
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Jun 22, 2020
1 parent 9fbebc3 commit 3d0910e
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions chapters/arrays.tex
Expand Up @@ -195,16 +195,17 @@ \section{Built-in Array Functions}\doublelabel{built-in-array-functions}
\lstinline[mathescape=true]!size(C, $j$)! = $1$ for $n_{\mathrm{A}} + 1 \leq j \leq n$, \lstinline[mathescape=true]!C[$i_{1}$, $\ldots$, $i_{n_{\mathrm{A}}}$, 1, $\ldots$, 1]! =
\lstinline[mathescape=true]!A[$i_{1}$, $\ldots$, $i_{n_{\mathrm{A}}}$]!\\ \hline
\end{longtable}
The argument $n$ must be literal or a constant that can be evaluated during translation because it determines
The argument $n$ must be a constant that can be evaluated during translation, as it determines
the number of dimensions of the returned array.

\begin{nonnormative}
Below, \lstinline!promote! is only used for constant $n$.

Varying $n$ for \lstinline!promote! complicates matrix handling as it
can change matrix-equations in subtle ways (e.g.\ changing inner products to matrix multiplication).
\end{nonnormative}

\begin{nonnormative}
Below, \lstinline!promote! is only used for constant $n$ that can be evaluated during translation.
\end{nonnormative}

\begin{nonnormative}
Some examples of using the functions defined in the following
\autoref{array-dimension-and-size-functions} to \autoref{matrix-and-vector-algebra-functions}:
Expand Down

0 comments on commit 3d0910e

Please sign in to comment.