\hypertarget{a02654}{
\section{mln::math Namespace Reference}
\label{db/d4d/a02654}\index{mln::math@{mln::math}}
}


Namespace of mathematical routines.  


\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$typename T $>$ }\\T \hyperlink{a02654_a5b9841f2964a9c7a916f6d9ac94a2ef4}{abs} (const T \&v)
\begin{DoxyCompactList}\small\item\em Generic version. \item\end{DoxyCompactList}\item 
{\footnotesize template$<$unsigned n$>$ }\\\hyperlink{a00424}{value::int\_\-u}$<$ n $>$ \hyperlink{a02654_ae1dff92ac49e19a482cb0a9004659d7c}{abs} (const \hyperlink{a00424}{value::int\_\-u}$<$ n $>$ \&v)
\begin{DoxyCompactList}\small\item\em Specialization for \hyperlink{a00424}{mln::value::int\_\-u}. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\begin{Indent}{\bf }\par
{\em \label{_amgrpd41d8cd98f00b204e9800998ecf8427e}
 }\begin{DoxyCompactItemize}
\item 
int \hyperlink{a02654_a095e61a63208862ce23fd8bbff077025}{abs} (int v)
\begin{DoxyCompactList}\small\item\em Specializations for existing overloads of std::abs. \item\end{DoxyCompactList}\end{DoxyCompactItemize}
\end{Indent}


\subsection{Detailed Description}
Namespace of mathematical routines. 

\subsection{Function Documentation}
\hypertarget{a02654_a5b9841f2964a9c7a916f6d9ac94a2ef4}{
\index{mln::math@{mln::math}!abs@{abs}}
\index{abs@{abs}!mln::math@{mln::math}}
\subsubsection[{abs}]{\setlength{\rightskip}{0pt plus 5cm}template$<$typename T $>$ T mln::math::abs (
\begin{DoxyParamCaption}
\item[{const T \&}]{ v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d4d/a02654_a5b9841f2964a9c7a916f6d9ac94a2ef4}


Generic version. 



Definition at line 74 of file math/abs.hh.



Referenced by abs(), and mln::morpho::line\_\-gradient().

\hypertarget{a02654_a095e61a63208862ce23fd8bbff077025}{
\index{mln::math@{mln::math}!abs@{abs}}
\index{abs@{abs}!mln::math@{mln::math}}
\subsubsection[{abs}]{\setlength{\rightskip}{0pt plus 5cm}int mln::math::abs (
\begin{DoxyParamCaption}
\item[{int}]{ v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d4d/a02654_a095e61a63208862ce23fd8bbff077025}


Specializations for existing overloads of std::abs. 

Reference: ISO/IEC 14882:2003 C++ standard, section 26.5 (C Library, \mbox{[}lib.c.math\mbox{]}). 

Definition at line 79 of file math/abs.hh.



References abs().

\hypertarget{a02654_ae1dff92ac49e19a482cb0a9004659d7c}{
\index{mln::math@{mln::math}!abs@{abs}}
\index{abs@{abs}!mln::math@{mln::math}}
\subsubsection[{abs}]{\setlength{\rightskip}{0pt plus 5cm}template$<$unsigned n$>$ {\bf value::int\_\-u}$<$ n $>$ mln::math::abs (
\begin{DoxyParamCaption}
\item[{const value::int\_\-u$<$ n $>$ \&}]{ v}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{db/d4d/a02654_ae1dff92ac49e19a482cb0a9004659d7c}


Specialization for \hyperlink{a00424}{mln::value::int\_\-u}. 



Definition at line 88 of file math/abs.hh.

