Skip to content

Commit

Permalink
Minor cleanup of listing for 'cross'
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Oct 2, 2020
1 parent c034c27 commit 868200a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chapters/arrays.tex
Expand Up @@ -671,8 +671,8 @@ \subsection{Matrix and Vector Algebra Functions}\label{matrix-and-vector-algebra
\begin{semantics}
Returns the cross product of the 3-vectors $x$ and $y$:
\begin{lstlisting}[frame=none]
vector([ $x$[2] * $y$[3] - $x$[3] * $y$[2];
$x$[3] * $y$[1] - $x$[1] * $y$[3];
vector([ $x$[2] * $y$[3] - $x$[3] * $y$[2] ;
$x$[3] * $y$[1] - $x$[1] * $y$[3] ;
$x$[1] * $y$[2] - $x$[2] * $y$[1] ])
\end{lstlisting}
\end{semantics}
Expand Down

0 comments on commit 868200a

Please sign in to comment.