\hypertarget{a00228}{
\section{mln::fun::x2x::translation$<$ n, C $>$ Struct Template Reference}
\label{de/dc2/a00228}\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}}
}


Translation function-\/object.  




{\ttfamily \#include $<$translation.hh$>$}



Inheritance diagram for mln::fun::x2x::translation$<$ n, C $>$:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=400pt]{d2/d69/a03877}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
typedef C \hyperlink{a00228_a13758b1f28b599e5be79c20f34fa3b7d}{data\_\-t}
\begin{DoxyCompactList}\small\item\em Type of the underlying data stored in vectors and matrices. \item\end{DoxyCompactList}\item 
typedef \hyperlink{a00228}{translation}$<$ n, C $>$ \hyperlink{a00228_a26a609b48ba753eebf00b2ac2acbf3c2}{invert}
\begin{DoxyCompactList}\small\item\em Type of the inverse function. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hyperlink{a00228}{invert} \hyperlink{a00228_a7347589faf36af7eaef9a72c41762173}{inv} () const 
\begin{DoxyCompactList}\small\item\em Return the inverse function. \item\end{DoxyCompactList}\item 
algebra::vec$<$ n, C $>$ \hyperlink{a00228_a006c3471b0ae24288ef4ba33620da593}{operator()} (const algebra::vec$<$ n, C $>$ \&v) const 
\begin{DoxyCompactList}\small\item\em Perform the translation of the given vector. \item\end{DoxyCompactList}\item 
void \hyperlink{a00228_a59faca5c9ba150e2dc9a504203a9d877}{set\_\-t} (const algebra::vec$<$ n, C $>$ \&t)
\begin{DoxyCompactList}\small\item\em Set a net translation vector. \item\end{DoxyCompactList}\item 
const algebra::vec$<$ n, C $>$ \& \hyperlink{a00228_a19216e49840472bf45ec46db660deefa}{t} () const 
\begin{DoxyCompactList}\small\item\em Return the translation vector. \item\end{DoxyCompactList}\item 
\hyperlink{a00228_a72c4c4cbfe624daba9f84c04c6b76145}{translation} (const algebra::vec$<$ n, C $>$ \&t)
\begin{DoxyCompactList}\small\item\em Constructor with the translation vector. \item\end{DoxyCompactList}\item 
\hyperlink{a00228_af1ac5f58734857cb6980c1823af534a2}{translation} ()
\begin{DoxyCompactList}\small\item\em Constructor without argument. \item\end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
\subsubsection*{template$<$unsigned n, typename C$>$ struct mln::fun::x2x::translation$<$ n, C $>$}

Translation function-\/object. 

Definition at line 52 of file x2x/translation.hh.



\subsection{Member Typedef Documentation}
\hypertarget{a00228_a13758b1f28b599e5be79c20f34fa3b7d}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!data\_\-t@{data\_\-t}}
\index{data\_\-t@{data\_\-t}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{data\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ typedef C {\bf mln::fun::x2x::translation}$<$ n, C $>$::{\bf data\_\-t}}}
\label{de/dc2/a00228_a13758b1f28b599e5be79c20f34fa3b7d}


Type of the underlying data stored in vectors and matrices. 



Definition at line 59 of file x2x/translation.hh.

\hypertarget{a00228_a26a609b48ba753eebf00b2ac2acbf3c2}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!invert@{invert}}
\index{invert@{invert}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{invert}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ typedef {\bf translation}$<$n,C$>$ {\bf mln::fun::x2x::translation}$<$ n, C $>$::{\bf invert}}}
\label{de/dc2/a00228_a26a609b48ba753eebf00b2ac2acbf3c2}


Type of the inverse function. 



Definition at line 62 of file x2x/translation.hh.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{a00228_af1ac5f58734857cb6980c1823af534a2}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!translation@{translation}}
\index{translation@{translation}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{translation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ {\bf mln::fun::x2x::translation}$<$ n, C $>$::{\bf translation} (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{de/dc2/a00228_af1ac5f58734857cb6980c1823af534a2}


Constructor without argument. 



Definition at line 93 of file x2x/translation.hh.

\hypertarget{a00228_a72c4c4cbfe624daba9f84c04c6b76145}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!translation@{translation}}
\index{translation@{translation}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{translation}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ {\bf mln::fun::x2x::translation}$<$ n, C $>$::{\bf translation} (
\begin{DoxyParamCaption}
\item[{const algebra::vec$<$ n, C $>$ \&}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{de/dc2/a00228_a72c4c4cbfe624daba9f84c04c6b76145}


Constructor with the translation vector. 



Definition at line 99 of file x2x/translation.hh.



\subsection{Member Function Documentation}
\hypertarget{a00228_a7347589faf36af7eaef9a72c41762173}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!inv@{inv}}
\index{inv@{inv}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{inv}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ {\bf translation}$<$ n, C $>$ {\bf mln::fun::x2x::translation}$<$ n, C $>$::inv (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{de/dc2/a00228_a7347589faf36af7eaef9a72c41762173}


Return the inverse function. 



Definition at line 124 of file x2x/translation.hh.

\hypertarget{a00228_a006c3471b0ae24288ef4ba33620da593}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!operator()@{operator()}}
\index{operator()@{operator()}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{operator()}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ algebra::vec$<$ n, C $>$ {\bf mln::fun::x2x::translation}$<$ n, C $>$::operator() (
\begin{DoxyParamCaption}
\item[{const algebra::vec$<$ n, C $>$ \&}]{ v}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{de/dc2/a00228_a006c3471b0ae24288ef4ba33620da593}


Perform the translation of the given vector. 



Definition at line 108 of file x2x/translation.hh.

\hypertarget{a00228_a59faca5c9ba150e2dc9a504203a9d877}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!set\_\-t@{set\_\-t}}
\index{set\_\-t@{set\_\-t}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{set\_\-t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ void {\bf mln::fun::x2x::translation}$<$ n, C $>$::set\_\-t (
\begin{DoxyParamCaption}
\item[{const algebra::vec$<$ n, C $>$ \&}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{de/dc2/a00228_a59faca5c9ba150e2dc9a504203a9d877}


Set a net translation vector. 



Definition at line 134 of file x2x/translation.hh.

\hypertarget{a00228_a19216e49840472bf45ec46db660deefa}{
\index{mln::fun::x2x::translation@{mln::fun::x2x::translation}!t@{t}}
\index{t@{t}!mln::fun::x2x::translation@{mln::fun::x2x::translation}}
\subsubsection[{t}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n, typename C $>$ const algebra::vec$<$ n, C $>$ \& {\bf mln::fun::x2x::translation}$<$ n, C $>$::t (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
) const\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{de/dc2/a00228_a19216e49840472bf45ec46db660deefa}


Return the translation vector. 



Definition at line 143 of file x2x/translation.hh.

