\section{atlas::arithmetic Namespace Reference}
\label{namespaceatlas_1_1arithmetic}\index{atlas::arithmetic@{atlas::arithmetic}}


\subsection*{Functions}
\begin{CompactItemize}
\item 
unsigned long {\bf gcd} (unsigned long a, unsigned long b)
\item 
unsigned long {\bf lcm} (unsigned long a, unsigned long b)
\item 
unsigned long \& {\bf mod\-Prod} (unsigned long \&a, unsigned long b, unsigned long n)
\item 
unsigned long \& {\bf mod\-Add} (unsigned long \&, unsigned long, unsigned long)
\item 
template$<$typename C$>$ unsigned long {\bf remainder} (C, unsigned long)
\item 
unsigned long {\bf gcd} (long a, unsigned long b)
\end{CompactItemize}


\subsection{Function Documentation}
\index{atlas::arithmetic@{atlas::arithmetic}!gcd@{gcd}}
\index{gcd@{gcd}!atlas::arithmetic@{atlas::arithmetic}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long atlas::arithmetic::gcd (long {\em a}, unsigned long {\em b})\hspace{0.3cm}{\tt  [inline]}}\label{namespaceatlas_1_1arithmetic_304f2e7fdd070b6d7e5ae12b024a57df}


\index{atlas::arithmetic@{atlas::arithmetic}!gcd@{gcd}}
\index{gcd@{gcd}!atlas::arithmetic@{atlas::arithmetic}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long atlas::arithmetic::gcd (unsigned long {\em a}, unsigned long {\em b})}\label{namespaceatlas_1_1arithmetic_a82737da725e99dc89af8c61f8730e21}


\index{atlas::arithmetic@{atlas::arithmetic}!lcm@{lcm}}
\index{lcm@{lcm}!atlas::arithmetic@{atlas::arithmetic}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long atlas::arithmetic::lcm (unsigned long {\em a}, unsigned long {\em b})}\label{namespaceatlas_1_1arithmetic_9d81ccf8b605587e6245006957ca1fbd}


\index{atlas::arithmetic@{atlas::arithmetic}!modAdd@{modAdd}}
\index{modAdd@{modAdd}!atlas::arithmetic@{atlas::arithmetic}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long \& atlas::arithmetic::mod\-Add (unsigned long \&, unsigned {\em long}, unsigned {\em long})\hspace{0.3cm}{\tt  [inline]}}\label{namespaceatlas_1_1arithmetic_9e8e54d6d6bdc13630c1bd1497bb9ef1}


\index{atlas::arithmetic@{atlas::arithmetic}!modProd@{modProd}}
\index{modProd@{modProd}!atlas::arithmetic@{atlas::arithmetic}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}unsigned long \& atlas::arithmetic::mod\-Prod (unsigned long \& {\em a}, unsigned long {\em b}, unsigned long {\em n})}\label{namespaceatlas_1_1arithmetic_1bed639ed79a1db423d7d0501d1bd3eb}


\index{atlas::arithmetic@{atlas::arithmetic}!remainder@{remainder}}
\index{remainder@{remainder}!atlas::arithmetic@{atlas::arithmetic}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename C$>$ unsigned long atlas::arithmetic::remainder (C, unsigned {\em long})}\label{namespaceatlas_1_1arithmetic_44552e0286b05096389b4275e8673710}


