Skip to content

Commit

Permalink
En-dash
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Jan 25, 2022
1 parent 57ba341 commit 763af2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/functions.tex
Expand Up @@ -825,7 +825,7 @@ \subsection{Flexible Array Sizes and Resizing of Arrays in Functions}\label{flex
\end{lstlisting}
\end{example}

\subsection{Automatic Vectorization - Scalar Functions Applied to Array Arguments}\label{scalar-functions-applied-to-array-arguments}\label{automatic-vectorization-scalar-functions-applied-to-array-arguments}
\subsection{Automatic Vectorization -- Scalar Functions Applied to Array Arguments}\label{scalar-functions-applied-to-array-arguments}\label{automatic-vectorization-scalar-functions-applied-to-array-arguments}

Functions with one scalar return value can be applied to arrays element-wise, e.g.\ if \lstinline!A! is a vector of reals, then \lstinline!sin(A)! is a vector where each element is the result of applying the function \lstinline!sin! to the corresponding element in \lstinline!A!.
Only \lstinline!function! classes that are transitively non-replaceable (\cref{transitively-non-replaceable} and \cref{restrictions-on-base-classes-and-constraining-types-to-be-transitively-non-replaceable}) may be called vectorized.
Expand Down

0 comments on commit 763af2b

Please sign in to comment.