Skip to content

Commit

Permalink
Line-based paragraphs.
Browse files Browse the repository at this point in the history
  • Loading branch information
HansOlsson committed Aug 10, 2023
1 parent 9b29bee commit f68994b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions chapters/functions.tex
Original file line number Diff line number Diff line change
Expand Up @@ -882,9 +882,8 @@ \subsection{Automatic Vectorization}\label{scalar-functions-applied-to-array-arg
sum1 := e1 + e2;
end Add;
\end{lstlisting}
\lstinline!Add(1, [1,2,3])! adds one to each of the elements of the second
argument giving the result \lstinline![2,3,4]!. For built-in operators one can do this with \lstinline!1 .+ [1,2,3]! but not with \lstinline!1 + [1,2,3]!, because the rules for the built-in
operators are more restrictive.
\lstinline!Add(1, [1,2,3])! adds one to each of the elements of the second argument giving the result \lstinline![2,3,4]!.
For built-in operators one can do this with \lstinline!1 .+ [1,2,3]! but not with \lstinline!1 + [1,2,3]!, because the rules for the built-in operators are more restrictive.
\end{example}

\subsection{Empty Function Calls}\label{empty-function-calls}
Expand Down

0 comments on commit f68994b

Please sign in to comment.