From c37320a5cce739631dcda20d43604a4ea670d92e Mon Sep 17 00:00:00 2001 From: Henrik Tidefelt Date: Tue, 23 Jun 2020 22:29:10 +0200 Subject: [PATCH] Tidy up function calls that are parameter expressions Stumbled upon these when looking for specification of 'size'. --- chapters/operatorsandexpressions.tex | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/chapters/operatorsandexpressions.tex b/chapters/operatorsandexpressions.tex index 56d823cdb..c5bb7821d 100644 --- a/chapters/operatorsandexpressions.tex +++ b/chapters/operatorsandexpressions.tex @@ -1317,19 +1317,16 @@ \subsection{Parameter Expressions}\doublelabel{parameter-expressions} \lstinline!edge!, \lstinline!change!, \lstinline!sample!, and \lstinline!pre!, a function or operator with parameter subexpressions is a parameter expression. \item - Some function calls are parameter expressions even if the arguments - are not: - + Some function calls are parameter expressions even if the arguments are not: \begin{itemize} \item \lstinline!ndims(A)! \item \lstinline!cardinality(c)!, see restrictions for use in \autoref{cardinality-deprecated}. \item - \lstinline!end! in \lstinline!A[...end... ]! if \lstinline!A! is variable declared in a non-function class. + \lstinline!end! in \lstinline!A[$\ldots$ end $\ldots$]! if \lstinline!A! is variable declared in a non-function class. \item - \lstinline!size(A)! (including \lstinline!size(A, j)! where \lstinline!j! is parameter expression) if \lstinline!A! - is variable declared in a non-function class + \lstinline!size(A)! (including \lstinline!size(A, j)! where \lstinline!j! is parameter expression) if \lstinline!A! is variable declared in a non-function class. \item \lstinline!Connections.isRoot(A.R)! \item