\section{/var/www/mlpack.ratml.\+org/mlpack.org/\+\_\+src/mlpack-\/3.3.0/src/mlpack/tests/test\+\_\+tools.hpp File Reference}
\label{test__tools_8hpp}\index{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+0/src/mlpack/tests/test\+\_\+tools.\+hpp@{/var/www/mlpack.\+ratml.\+org/mlpack.\+org/\+\_\+src/mlpack-\/3.\+3.\+0/src/mlpack/tests/test\+\_\+tools.\+hpp}}
Include dependency graph for test\+\_\+tools.\+hpp\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{test__tools_8hpp__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=178pt]{test__tools_8hpp__dep__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \textbf{ R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR}(L,  R,  E)~B\+O\+O\+S\+T\+\_\+\+R\+E\+Q\+U\+I\+R\+E\+\_\+\+LE(std\+::abs((R) -\/ (L)), (E) $\ast$ std\+::abs(R))
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void \textbf{ Check\+Matrices} (const arma\+::mat \&a, const arma\+::mat \&b, double tolerance=1e-\/5)
\item 
void \textbf{ Check\+Matrices} (const arma\+::\+Mat$<$ size\+\_\+t $>$ \&a, const arma\+::\+Mat$<$ size\+\_\+t $>$ \&b)
\item 
void \textbf{ Check\+Matrices} (const arma\+::cube \&a, const arma\+::cube \&b, double tolerance=1e-\/5)
\item 
void \textbf{ Check\+Matrices\+Not\+Equal} (const arma\+::mat \&a, const arma\+::mat \&b, double tolerance=1e-\/5)
\item 
void \textbf{ Check\+Matrices\+Not\+Equal} (const arma\+::\+Mat$<$ size\+\_\+t $>$ \&a, const arma\+::\+Mat$<$ size\+\_\+t $>$ \&b)
\item 
void \textbf{ Check\+Matrices\+Not\+Equal} (const arma\+::cube \&a, const arma\+::cube \&b, double tolerance=1e-\/5)
\item 
std\+::string \textbf{ Filter\+File\+Name} (const std\+::string \&input\+String)
\end{DoxyCompactItemize}


\subsection{Detailed Description}
\begin{DoxyAuthor}{Author}
Ryan Curtin
\end{DoxyAuthor}
This file includes some useful macros for tests.

mlpack is free software; you may redistribute it and/or modify it under the terms of the 3-\/clause B\+SD license. You should have received a copy of the 3-\/clause B\+SD license along with mlpack. If not, see {\tt http\+://www.\+opensource.\+org/licenses/\+B\+S\+D-\/3-\/\+Clause} for more information. 

\subsection{Macro Definition Documentation}
\mbox{\label{test__tools_8hpp_aa02380f99fe064c7efddccac3ba7befb}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR@{R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR}}
\index{R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR@{R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR}
{\footnotesize\ttfamily \#define R\+E\+Q\+U\+I\+R\+E\+\_\+\+R\+E\+L\+A\+T\+I\+V\+E\+\_\+\+E\+RR(\begin{DoxyParamCaption}\item[{}]{L,  }\item[{}]{R,  }\item[{}]{E }\end{DoxyParamCaption})~B\+O\+O\+S\+T\+\_\+\+R\+E\+Q\+U\+I\+R\+E\+\_\+\+LE(std\+::abs((R) -\/ (L)), (E) $\ast$ std\+::abs(R))}



Definition at line 20 of file test\+\_\+tools.\+hpp.



\subsection{Function Documentation}
\mbox{\label{test__tools_8hpp_a069c1790abc5e691ac7bae18caab5c84}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Check\+Matrices@{Check\+Matrices}}
\index{Check\+Matrices@{Check\+Matrices}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Check\+Matrices()\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Check\+Matrices (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{a,  }\item[{const arma\+::mat \&}]{b,  }\item[{double}]{tolerance = {\ttfamily 1e-\/5} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 24 of file test\+\_\+tools.\+hpp.

\mbox{\label{test__tools_8hpp_a55e4e6a1b90fa29f377545ada95d9c13}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Check\+Matrices@{Check\+Matrices}}
\index{Check\+Matrices@{Check\+Matrices}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Check\+Matrices()\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Check\+Matrices (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{a,  }\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 41 of file test\+\_\+tools.\+hpp.

\mbox{\label{test__tools_8hpp_afe966f828dc9f987f9f46f348947a729}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Check\+Matrices@{Check\+Matrices}}
\index{Check\+Matrices@{Check\+Matrices}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Check\+Matrices()\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Check\+Matrices (\begin{DoxyParamCaption}\item[{const arma\+::cube \&}]{a,  }\item[{const arma\+::cube \&}]{b,  }\item[{double}]{tolerance = {\ttfamily 1e-\/5} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 52 of file test\+\_\+tools.\+hpp.

\mbox{\label{test__tools_8hpp_ab286653ce1d929749c5595d969c9405d}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Check\+Matrices\+Not\+Equal@{Check\+Matrices\+Not\+Equal}}
\index{Check\+Matrices\+Not\+Equal@{Check\+Matrices\+Not\+Equal}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Check\+Matrices\+Not\+Equal()\hspace{0.1cm}{\footnotesize\ttfamily [1/3]}}
{\footnotesize\ttfamily void Check\+Matrices\+Not\+Equal (\begin{DoxyParamCaption}\item[{const arma\+::mat \&}]{a,  }\item[{const arma\+::mat \&}]{b,  }\item[{double}]{tolerance = {\ttfamily 1e-\/5} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 70 of file test\+\_\+tools.\+hpp.

\mbox{\label{test__tools_8hpp_a91052523ffe67c0b11c6731ad14689e1}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Check\+Matrices\+Not\+Equal@{Check\+Matrices\+Not\+Equal}}
\index{Check\+Matrices\+Not\+Equal@{Check\+Matrices\+Not\+Equal}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Check\+Matrices\+Not\+Equal()\hspace{0.1cm}{\footnotesize\ttfamily [2/3]}}
{\footnotesize\ttfamily void Check\+Matrices\+Not\+Equal (\begin{DoxyParamCaption}\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{a,  }\item[{const arma\+::\+Mat$<$ size\+\_\+t $>$ \&}]{b }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 102 of file test\+\_\+tools.\+hpp.

\mbox{\label{test__tools_8hpp_ab8511b32e7ccb9f8b0c09b92f810908f}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Check\+Matrices\+Not\+Equal@{Check\+Matrices\+Not\+Equal}}
\index{Check\+Matrices\+Not\+Equal@{Check\+Matrices\+Not\+Equal}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Check\+Matrices\+Not\+Equal()\hspace{0.1cm}{\footnotesize\ttfamily [3/3]}}
{\footnotesize\ttfamily void Check\+Matrices\+Not\+Equal (\begin{DoxyParamCaption}\item[{const arma\+::cube \&}]{a,  }\item[{const arma\+::cube \&}]{b,  }\item[{double}]{tolerance = {\ttfamily 1e-\/5} }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 127 of file test\+\_\+tools.\+hpp.

\mbox{\label{test__tools_8hpp_a2bef90617ddbfbbfc128fed05612d17a}} 
\index{test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}!Filter\+File\+Name@{Filter\+File\+Name}}
\index{Filter\+File\+Name@{Filter\+File\+Name}!test\+\_\+tools.\+hpp@{test\+\_\+tools.\+hpp}}
\subsubsection{Filter\+File\+Name()}
{\footnotesize\ttfamily std\+::string Filter\+File\+Name (\begin{DoxyParamCaption}\item[{const std\+::string \&}]{input\+String }\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Definition at line 160 of file test\+\_\+tools.\+hpp.



Referenced by mlpack\+::\+Serialize\+Object(), mlpack\+::\+Serialize\+Pointer\+Object(), and mlpack\+::\+Test\+Armadillo\+Serialization().

