Skip to content

Commit

Permalink
Tidy up function calls that are parameter expressions
Browse files Browse the repository at this point in the history
Stumbled upon these when looking for specification of 'size'.
  • Loading branch information
henrikt-ma committed Jun 23, 2020
1 parent 8be8f6c commit c37320a
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c37320a

Please sign in to comment.