Skip to content

Commit

Permalink
Matrix/vector algebra functions return reals
Browse files Browse the repository at this point in the history
This follows from modelica#622 and reverts dc7ad4e
  • Loading branch information
sjoelund committed Sep 30, 2020
1 parent 24f9d59 commit 45d1afe
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions chapters/arrays.tex
Expand Up @@ -463,9 +463,10 @@ \subsubsection{Reduction Expressions}\label{reduction-expressions}

\subsection{Matrix and Vector Algebra Functions}\label{matrix-and-vector-algebra-functions}

The following set of built-in matrix and vector algebra functions are available. The function transpose and symmetric can be applied to any matrix.
The functions \lstinline!outerProduct!, \lstinline!cross! and \lstinline!skew! require \lstinline!Real!/\lstinline!Integer! vector(s) or matrix as input(s)
and returns a \lstinline!Real!/\lstinline!Integer! vector or matrix (the result is only \lstinline!Integer! if the input/all inputs are \lstinline!Integer!):
The following set of built-in matrix and vector algebra functions are available.
The function transpose can be applied to any matrix.
The functions \lstinline!outerProduct!, \lstinline!symmetric!, \lstinline!cross! and \lstinline!skew! require \lstinline!Real!/\lstinline!Integer! vector(s) or matrix as input(s)
and returns a \lstinline!Real! vector or matrix:
\begin{longtable}[]{|p{3.5cm}|p{11.5cm}|}
\caption{Matrix and vector algebra functions.}\\
\hline
Expand Down

0 comments on commit 45d1afe

Please sign in to comment.