\section{vector$<$ t $>$ Class Template Reference}
\label{classvector}\index{vector@{vector}}
This class represents a three dimensional vector. 


{\tt \#include $<$vector.h$>$}

\subsection*{Public Methods}
\begin{CompactItemize}
\item 
const vector {\bf operator $\ast$} (const t s) const
\begin{CompactList}\small\item\em Multiplicate actual vector with a scalar.\item\end{CompactList}\item 
\index{operator *@{operator $\ast$}!vector@{vector}}\index{vector@{vector}!operator *@{operator $\ast$}}
const vector {\bf operator $\ast$} (const vector \&v) const\label{classvector_vectora5}

\begin{CompactList}\small\item\em Multiplication with a vector.\item\end{CompactList}\item 
\index{operator^@{operator$^\wedge$}!vector@{vector}}\index{vector@{vector}!operator^@{operator$^\wedge$}}
const t {\bf operator$^\wedge$} (const vector \&v) const\label{classvector_vectora6}

\begin{CompactList}\small\item\em Dot product of vector.\item\end{CompactList}\item 
\index{operator+@{operator+}!vector@{vector}}\index{vector@{vector}!operator+@{operator+}}
const vector {\bf operator+} (const vector \&v) const\label{classvector_vectora7}

\begin{CompactList}\small\item\em Add a vector v to this vector.\item\end{CompactList}\item 
\index{rotx@{rotx}!vector@{vector}}\index{vector@{vector}!rotx@{rotx}}
void {\bf rotx} (t val)\label{classvector_vectora13}

\begin{CompactList}\small\item\em Rotate vector around x axis.\item\end{CompactList}\end{CompactItemize}
\subsection*{Private Methods}
\begin{CompactItemize}
\item 
\index{_length@{\_\-length}!vector@{vector}}\index{vector@{vector}!_length@{\_\-length}}
t {\bf \_\-length} ()\label{classvector_vectorc0}

\begin{CompactList}\small\item\em Calculate the length of the vector.\item\end{CompactList}\end{CompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$class t$>$ class vector$<$ t $>$}

This class represents a three dimensional vector.



Definition at line 12 of file vector.h.

\subsection{Member Function Documentation}
\index{vector@{vector}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!vector@{vector}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$class t$>$ const vector vector$<$ t $>$::operator $\ast$ (const t {\em s}) const\hspace{0.3cm}{\tt  [inline]}}\label{classvector_vectora4}


Multiplicate actual vector with a scalar.

\begin{Desc}
\item[Parameters: ]\par
\begin{description}
\item[{\em 
s}]scalar \end{description}
\end{Desc}


Definition at line 59 of file vector.h.

The documentation for this class was generated from the following file:\begin{CompactItemize}
\item 
vector.h\end{CompactItemize}
