Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions chapters/operatorsandexpressions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -813,10 +813,17 @@ \subsection{Derivative and Special Purpose Operators with Function Syntax}\label
The operator is not allowed inside \lstinline!function! classes.
If $\mathit{expr}$ is an array, the operator is applied to all elements of the array.
For non-scalar arguments the function is vectorized according to \cref{vectorized-calls-of-functions}.

\begin{nonnormative}
For \lstinline!Real! parameters and constants the result is a zero scalar or array of the same size as the variable.
\end{nonnormative}

\begin{nonnormative}
There is also a two argument form of \lstinline!der! used in annotations, see \productionref{result-reference} in the grammar.
This form is used to refer to higher order derivatives of a component as described in \cref{plot-curves}.
It is not valid as a general expression outside annotations.
Comment thread
henrikt-ma marked this conversation as resolved.
Outdated
\end{nonnormative}

\begin{example}
For continuous expression we have several cases.
\begin{lstlisting}[language=modelica]
Expand Down