Skip to content

Commit

Permalink
Don't end small table entries in period
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Sep 18, 2020
1 parent 8a82fda commit 41aff8e
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
4 changes: 2 additions & 2 deletions chapters/functions.tex
Expand Up @@ -2045,9 +2045,9 @@ \subsection{Return Type Mapping}\label{return-type-mapping}
\lstinline!Integer! & \lstinline!int! & \lstinline!INTEGER!\\ \hline
\lstinline!Boolean! & \lstinline!int! & \lstinline!LOGICAL!\\ \hline
\lstinline!String! & \lstinline!const char*! & Not allowed.\\ \hline
\lstinline!T[$\mathit{dim}_{1}$, $\ldots$, $\mathit{dim}_{n}$]! & Not allowed. & Not allowed.\\ \hline
\lstinline!T[$\mathit{dim}_{1}$, $\ldots$, $\mathit{dim}_{n}$]! & Not allowed & Not allowed \\ \hline
Enumeration type & \lstinline!int! & \lstinline!INTEGER!\\ \hline
Record & See \cref{records}. & Not allowed.\\ \hline
Record & See \cref{records} & Not allowed\\ \hline
\end{longtable}

The element type \lstinline!T! of an array can be any simple type as defined in
Expand Down
82 changes: 41 additions & 41 deletions chapters/operatorsandexpressions.tex
Expand Up @@ -392,12 +392,12 @@ \subsection{Numeric Functions and Conversion Functions}\label{numeric-functions-
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!abs($v$)! & Absolute value (event-free). & \Cref{modelica:abs} \\
\lstinline!sign($v$)! & Sign of argument (event-free). & \Cref{modelica:sign} \\
\lstinline!sqrt($v$)! & Square root. & \Cref{modelica:sqrt} \\
\lstinline!abs($v$)! & Absolute value (event-free) & \Cref{modelica:abs} \\
\lstinline!sign($v$)! & Sign of argument (event-free) & \Cref{modelica:sign} \\
\lstinline!sqrt($v$)! & Square root & \Cref{modelica:sqrt} \\
\lstinline!Integer($e$)! & Conversion from enumeration to \lstinline!Integer! & \Cref{modelica:integer-of-enumeration} \\
\lstinline!EnumTypeName($i$)! & Conversion from \lstinline!Integer! to enumeration. & \Cref{modelica:enumeration-of-integer} \\
\lstinline!String($\ldots$)! & Conversion to \lstinline!String!. & \Cref{modelica:to-String} \\
\lstinline!EnumTypeName($i$)! & Conversion from \lstinline!Integer! to enumeration & \Cref{modelica:enumeration-of-integer} \\
\lstinline!String($\ldots$)! & Conversion to \lstinline!String! & \Cref{modelica:to-String} \\
\hline
\end{tabular}
\end{center}
Expand Down Expand Up @@ -506,12 +506,12 @@ \subsection{Event Triggering Mathematical Functions}\label{event-triggering-math
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!div($x$, $y$)! & Division with truncation toward zero. & \Cref{modelica:div} \\
\lstinline!mod($x$, $y$)! & Integer modulus. & \Cref{modelica:mod} \\
\lstinline!rem($x$, $y$)! & Integer remainder. & \Cref{modelica:rem} \\
\lstinline!ceil($x$)! & Smallest integer \lstinline!Real! not less than $x$. & \Cref{modelica:ceil} \\
\lstinline!floor($x$)! & Largest integer \lstinline!Real! not greater than $x$. & \Cref{modelica:floor} \\
\lstinline!integer($x$)! & Largest \lstinline!Intger! not greater than $x$. & \Cref{modelica:integer} \\
\lstinline!div($x$, $y$)! & Division with truncation toward zero & \Cref{modelica:div} \\
\lstinline!mod($x$, $y$)! & Integer modulus & \Cref{modelica:mod} \\
\lstinline!rem($x$, $y$)! & Integer remainder & \Cref{modelica:rem} \\
\lstinline!ceil($x$)! & Smallest integer \lstinline!Real! not less than $x$ & \Cref{modelica:ceil} \\
\lstinline!floor($x$)! & Largest integer \lstinline!Real! not greater than $x$ & \Cref{modelica:floor} \\
\lstinline!integer($x$)! & Largest \lstinline!Intger! not greater than $x$ & \Cref{modelica:integer} \\
\hline
\end{tabular}
\end{center}
Expand Down Expand Up @@ -608,19 +608,19 @@ \subsection{Built-in Mathematical Functions and External Built-in Functions}\lab
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!sin($x$)! & Sine. & \\
\lstinline!cos($x$)! & Cosine. & \\
\lstinline!tan($x$)! & Tangent ($x$ shall not be: $\ldots$, -$\pi/2$, $\pi/2$, $3\pi/2$, $\ldots$). & \\
\lstinline!asin($x$)! & Inverse sine ($-1 \le x \le 1$). & \\
\lstinline!acos($x$)! & Inverse cosine ($-1 \le x \le 1$). & \\
\lstinline!atan($x$)! & Inverse tangent. & \\
\lstinline!atan2($y$, $x$)! & Principal value of the arc tangent of $y/x$. & \Cref{modelica:atan2} \\
\lstinline!sinh($x$)! & Hyperbolic sine. & \\
\lstinline!cosh($x$)! & Hyperbolic cosine. & \\
\lstinline!tanh($x$)! & Hyperbolic tangent. & \\
\lstinline!exp($x$)! & Exponential, base $\mathrm{e}$. & \\
\lstinline!log($x$)! & Natural (base $\mathrm{e}$) logarithm ($x > 0$). & \\
\lstinline!log10($x$)! & Base 10 logarithm ($x > 0$). & \\
\lstinline!sin($x$)! & Sine & \\
\lstinline!cos($x$)! & Cosine & \\
\lstinline!tan($x$)! & Tangent ($x$ shall not be: $\ldots$, -$\pi/2$, $\pi/2$, $3\pi/2$, $\ldots$) & \\
\lstinline!asin($x$)! & Inverse sine ($-1 \le x \le 1$) & \\
\lstinline!acos($x$)! & Inverse cosine ($-1 \le x \le 1$) & \\
\lstinline!atan($x$)! & Inverse tangent & \\
\lstinline!atan2($y$, $x$)! & Principal value of the arc tangent of $y/x$ & \Cref{modelica:atan2} \\
\lstinline!sinh($x$)! & Hyperbolic sine & \\
\lstinline!cosh($x$)! & Hyperbolic cosine & \\
\lstinline!tanh($x$)! & Hyperbolic tangent & \\
\lstinline!exp($x$)! & Exponential, base $\mathrm{e}$ & \\
\lstinline!log($x$)! & Natural (base $\mathrm{e}$) logarithm ($x > 0$) & \\
\lstinline!log10($x$)! & Base 10 logarithm ($x > 0$) & \\
\hline
\end{tabular}
\end{center}
Expand Down Expand Up @@ -650,15 +650,15 @@ \subsection{Derivative and Special Purpose Operators with Function Syntax}\label
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!der($\mathit{expr}$)! & Time derivative. & \Cref{modelica:der} \\
\lstinline!delay($\mathit{expr}$, $\ldots$)! & Time delay. & \Cref{modelica:delay} \\
\lstinline!cardinality($c$)! & Number of occurrences in connect-equations. & \Cref{modelica:cardinality} \\
\lstinline!homotopy($\mathit{actual}$, $\mathit{simplified}$)! & Homotpy initialization. & \Cref{modelica:homotopy} \\
\lstinline!semiLinear($x$, $k^{+}$, $k^{-}$)! & Sign-dependent slope. & \Cref{modelica:semiLinear} \\
\lstinline!der($\mathit{expr}$)! & Time derivative & \Cref{modelica:der} \\
\lstinline!delay($\mathit{expr}$, $\ldots$)! & Time delay & \Cref{modelica:delay} \\
\lstinline!cardinality($c$)! & Number of occurrences in connect-equations & \Cref{modelica:cardinality} \\
\lstinline!homotopy($\mathit{actual}$, $\mathit{simplified}$)! & Homotpy initialization & \Cref{modelica:homotopy} \\
\lstinline!semiLinear($x$, $k^{+}$, $k^{-}$)! & Sign-dependent slope & \Cref{modelica:semiLinear} \\
\lstinline!inStream($v$)! & Stream variable flow into component & \Cref{modelica:inStream} \\
\lstinline!actualStream($v$)! & Actual value of stream variable. & \Cref{modelica:actualStream} \\
\lstinline!spatialDistribution($\ldots$)! & Variable-speed transport. & \Cref{modelica:spatialDistribution} \\
\lstinline!getInstanceName()! & Name of instance at call site. & \Cref{modelica:getInstanceName} \\
\lstinline!actualStream($v$)! & Actual value of stream variable & \Cref{modelica:actualStream} \\
\lstinline!spatialDistribution($\ldots$)! & Variable-speed transport & \Cref{modelica:spatialDistribution} \\
\lstinline!getInstanceName()! & Name of instance at call site & \Cref{modelica:getInstanceName} \\
\hline
\end{tabular}
\end{center}
Expand Down Expand Up @@ -1218,15 +1218,15 @@ \subsection{Event-Related Operators with Function Syntax}\label{event-related-op
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!initial()! & Predicate for the initialization phase. & \Cref{modelica:initial}\\
\lstinline!terminal()! & Predicate for the end of a successful analysis. & \Cref{modelica:terminal}\\
\lstinline!noEvent($\mathit{expr}$)! & Evaluate $\mathit{expr}$ without triggering events. & \Cref{modelica:noEvent}\\
\lstinline!smooth($p$, $\mathit{expr}$)! & Treat $\mathit{expr}$ as $p$ times continuously differentiable. & \Cref{modelica:smooth}\\
\lstinline!sample($\mathit{start}$, $\mathit{interval}$)! & Periodic triggering of events. & \Cref{modelica:event-sample}\\
\lstinline!pre($y$)! & Left limit $y(t^{-})$ of variable $y(t)$. & \Cref{modelica:pre}\\
\lstinline!edge($b$)! & Expands into \lstinline!($b$ and not pre($b$))!. & \Cref{modelica:edge}\\
\lstinline!change($v$)! & Expands into \lstinline!($v$ <> pre($v$))!. & \Cref{modelica:change}\\
\lstinline!reinit($x$, $\mathit{expr}$)! & Reinitialize $x$ with $\mathit{expr}$. & \Cref{modelica:reinit}\\
\lstinline!initial()! & Predicate for the initialization phase & \Cref{modelica:initial}\\
\lstinline!terminal()! & Predicate for the end of a successful analysis & \Cref{modelica:terminal}\\
\lstinline!noEvent($\mathit{expr}$)! & Evaluate $\mathit{expr}$ without triggering events & \Cref{modelica:noEvent}\\
\lstinline!smooth($p$, $\mathit{expr}$)! & Treat $\mathit{expr}$ as $p$ times continuously differentiable & \Cref{modelica:smooth}\\
\lstinline!sample($\mathit{start}$, $\mathit{interval}$)! & Periodic triggering of events & \Cref{modelica:event-sample}\\
\lstinline!pre($y$)! & Left limit $y(t^{-})$ of variable $y(t)$ & \Cref{modelica:pre}\\
\lstinline!edge($b$)! & Expands into \lstinline!($b$ and not pre($b$))! & \Cref{modelica:edge}\\
\lstinline!change($v$)! & Expands into \lstinline!($v$ <> pre($v$))! & \Cref{modelica:change}\\
\lstinline!reinit($x$, $\mathit{expr}$)! & Reinitialize $x$ with $\mathit{expr}$ & \Cref{modelica:reinit}\\
\hline
\end{tabular}
\end{center}
Expand Down
6 changes: 3 additions & 3 deletions chapters/synchronous.tex
Expand Up @@ -560,7 +560,7 @@ \section{Clocked State Variables}\label{clocked-state-variables}
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!previous($u$)! & Previous value of clocked state variable. & \Cref{modelica:previous} \\
\lstinline!previous($u$)! & Previous value of clocked state variable & \Cref{modelica:previous} \\
\hline
\end{tabular}
\end{center}
Expand Down Expand Up @@ -591,8 +591,8 @@ \subsection{Base-clock conversion operators}\label{base-clock-conversion-operato
\tablehead{Expression} & \tablehead{Description} & \tablehead{Details}\\
\hline
\hline
\lstinline!sample($u$, $\mathit{clock}$)! & Sample continuous-time expression. & \Cref{modelica:clocked-sample} \\
\lstinline!hold($u$)! & Zeroth order hold of clocked-time variable. & \Cref{modelica:clocked-sample} \\
\lstinline!sample($u$, $\mathit{clock}$)! & Sample continuous-time expression & \Cref{modelica:clocked-sample} \\
\lstinline!hold($u$)! & Zeroth order hold of clocked-time variable & \Cref{modelica:clocked-sample} \\
\hline
\end{tabular}
\end{center}
Expand Down

0 comments on commit 41aff8e

Please sign in to comment.