Skip to content

Commit

Permalink
Break line
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Apr 5, 2023
1 parent bf5fdee commit 682b54f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chapters/functions.tex
Expand Up @@ -1631,7 +1631,8 @@ \subsection{Partial Derivatives of Functions}\label{partial-derivatives-of-funct
\end{lstlisting}
is the partial derivative of a function, and may only be used as declarations of functions.

The semantics is that a function (and only a function) can be specified in this form, defining that it is the partial derivative of the function to the right of the equal sign (looked up in the same way as a short class definition, and the looked up name must be a function), and partially differentiated with respect to each {\lstinline!IDENT!} in order (starting from the first one). The {\lstinline!IDENT!} must be scalar {\lstinline!Real!} inputs to the function.
The semantics is that a function (and only a function) can be specified in this form, defining that it is the partial derivative of the function to the right of the equal sign (looked up in the same way as a short class definition, and the looked up name must be a function), and partially differentiated with respect to each {\lstinline!IDENT!} in order (starting from the first one).
The {\lstinline!IDENT!} must be scalar {\lstinline!Real!} inputs to the function.

The comment allows a user to comment the function (in the info-layer and as one-line description, and as icon).

Expand Down

0 comments on commit 682b54f

Please sign in to comment.