Skip to content

Commit

Permalink
Update chapters/arrays.tex
Browse files Browse the repository at this point in the history
Co-authored-by: Henrik Tidefelt <henrikt@wolfram.com>
  • Loading branch information
HansOlsson and henrikt-ma committed Aug 14, 2023
1 parent 08b8ac9 commit d6f03a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chapters/arrays.tex
Expand Up @@ -1448,8 +1448,8 @@ \section{Empty Arrays}\label{empty-arrays}
Real[0, m] * Real[m, n] = Real[0, n] // empty matrix
Real[m, n] * Real[n, 0] = Real[m, 0] // empty matrix
Real[m, 0] * Real[0, n] = fill(0.0, m, n) // matrix of zeros
// Note fill(0.0, m, n) will be an empty matrix if m or n is 0
\end{lstlisting}
Note that \lstinline!fill(0.0, m, n)! will be an empty matrix if \lstinline!m! or \lstinline!n! is zero.

\begin{example}
\begin{lstlisting}[language=modelica]
Expand Down

0 comments on commit d6f03a4

Please sign in to comment.