Commit 139a736e authored by Marian Piatkowski's avatar Marian Piatkowski
Browse files

[Cleanup] remove trailing whitespaces

parent a3d1e2d4
No preview for this file type
......@@ -59,11 +59,11 @@
\setkomafont{pagenumber}{\normalfont\scshape}
\setkomafont{pagehead}{\normalfont\scshape}
% \lstset{language=C++, basicstyle=\small\ttfamily,
% \lstset{language=C++, basicstyle=\small\ttfamily,
% keywordstyle=\bfseries, tabsize=4, stringstyle=\ttfamily,
% commentstyle=\it, extendedchars=true, escapeinside={/*@}{@*/}}
\lstset{language=C++, basicstyle=\small\ttfamily,
\lstset{language=C++, basicstyle=\small\ttfamily,
tabsize=4, stringstyle=\ttfamily,
keywordstyle=\color{violet},
commentstyle=\color{darkgray},
......@@ -75,7 +75,7 @@ extendedchars=true, escapeinside={/*@}{@*/}}
%The theorems
\mode<article>
\mode<article>
{
\newtheoremstyle{mystyle}%
{3pt}%
......@@ -178,7 +178,7 @@ In these exercises:
\begin{frame}[fragile]
\frametitle{Templates}
Matrices are a central data structure in numerics and therefore used frequently.
Matrices are a central data structure in numerics and therefore used frequently.
Suppose we have the following situation:
\begin{itemize}
\item We already have an implementation of a class \lstinline!MatrixClass!
......@@ -267,8 +267,8 @@ Note: The non-class functions
\end{itemize}
have to be changed into template functions.
\emph{Hint}: If you encounter problems linking your application, you probably implemented the
templated matrix using the common technique of separating header (interface) and source (implementation) files.
\emph{Hint}: If you encounter problems linking your application, you probably implemented the
templated matrix using the common technique of separating header (interface) and source (implementation) files.
That is not possible using templates! Have a look at this Stackoverflow question for details: \href{http://stackoverflow.com/q/495021/2429404}{http://stackoverflow.com/q/495021/2429404}.
The short version is: put everything in the header file!
\end{block}
......@@ -289,7 +289,7 @@ The short version is: put everything in the header file!
\item \lstinline!operator()(int i, int j)! to access the matrix elements
\item Resize and print- methods (as in \lstinline!MatrixClass!)
\end{itemize}
\item A numeric matrix class \lstinline!NumMatrixClass! that erives from
\item A numeric matrix class \lstinline!NumMatrixClass! that derives from
\lstinline!MatrixClass! representing a numerical matrix allowing the arithmetic
operations on matrices.
\end{itemize}
......@@ -299,5 +299,5 @@ The short version is: put everything in the header file!
%% ------------------------------------ END C++ exercises ---------------------------
\end{document}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment