Skip to content

Commit

Permalink
Sentence-based line breaks
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Mar 19, 2024
1 parent b1261e7 commit cae549a
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions chapters/arrays.tex
Expand Up @@ -384,7 +384,8 @@ \subsection{Specialized Array Constructor Functions}\label{specialized-array-con
zeros($n_{1}$, $n_{2}$, $n_{3}$, $\ldots$)
\end{lstlisting}\end{synopsis}
\begin{semantics}
Returns the $n_{1} \times n_{2} \times n_{3} \times \ldots$ \lstinline!Integer! array with all elements equal to zero ($n_{i} \geq 0$). The function needs one or more arguments, that is, \lstinline!zeros()! is not legal.
Returns the $n_{1} \times n_{2} \times n_{3} \times \ldots$ \lstinline!Integer! array with all elements equal to zero ($n_{i} \geq 0$).
The function needs one or more arguments, that is, \lstinline!zeros()! is not legal.
\end{semantics}
\end{operatordefinition}

Expand All @@ -393,7 +394,8 @@ \subsection{Specialized Array Constructor Functions}\label{specialized-array-con
ones($n_{1}$, $n_{2}$, $n_{3}$, $\ldots$)
\end{lstlisting}\end{synopsis}
\begin{semantics}
Return the $n_{1} \times n_{2} \times n_{3} \times \ldots$ \lstinline!Integer! array with all elements equal to one ($n_{i} \geq 0$). The function needs one or more arguments, that is, \lstinline!ones()! is not legal.
Return the $n_{1} \times n_{2} \times n_{3} \times \ldots$ \lstinline!Integer! array with all elements equal to one ($n_{i} \geq 0$).
The function needs one or more arguments, that is, \lstinline!ones()! is not legal.
\end{semantics}
\end{operatordefinition}

Expand All @@ -402,7 +404,8 @@ \subsection{Specialized Array Constructor Functions}\label{specialized-array-con
fill($s$, $n_{1}$, $n_{2}$, $n_{3}$, $\ldots$)
\end{lstlisting}\end{synopsis}
\begin{semantics}
Returns the $n_{1} \times n_{2} \times n_{3} \times \ldots$ array with all elements equal to scalar or array expression $s$ ($n_{i} \geq 0$). The returned array has the same type as $s$.
Returns the $n_{1} \times n_{2} \times n_{3} \times \ldots$ array with all elements equal to scalar or array expression $s$ ($n_{i} \geq 0$).
The returned array has the same type as $s$.

Recursive definition:
\lstinline!fill($s$, $n_{1}$, $n_{2}$, $n_{3}$, $\ldots$)! =
Expand Down

0 comments on commit cae549a

Please sign in to comment.