\hypertarget{arrutil_8h}{
\section{arrutil.h File Reference}
\label{arrutil_8h}\index{arrutil.h@{arrutil.h}}
}


This graph shows which files directly or indirectly include this file:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=113pt]{arrutil_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\footnotesize template$<$typename FirstItem, typename SecondItem$>$ }\\bool \hyperlink{arrutil_8h_89f678d5d309a9f7186d5a2076ca57bd}{isEqualTo} (const FirstItem \&x, const SecondItem \&y)
\item 
{\footnotesize template$<$typename FirstItem, typename SecondItem$>$ }\\bool \hyperlink{arrutil_8h_5df688f0db56aae1bc16fc994c3be2d0}{isLessThan} (const FirstItem \&x, const SecondItem \&y)
\item 
{\footnotesize template$<$typename FirstItem, typename SecondItem$>$ }\\bool \hyperlink{arrutil_8h_43a49f0f3310aba8de2abdb0d6657cd2}{isGreaterThan} (const FirstItem \&x, const SecondItem \&y)
\item 
{\footnotesize template$<$typename ArrayType, typename ElemType$>$ }\\long \hyperlink{arrutil_8h_9a07f7439821f6a46789816c24efa30e}{count\_\-if} (const ArrayType \&arr, long low, long high, const ElemType \&dummy, bool($\ast$if\_\-this)(const ElemType \&))
\item 
{\footnotesize template$<$typename ArrayType, typename ElemType, typename ItemType$>$ }\\long \hyperlink{arrutil_8h_8c52b83f6c5a48caecb7bb25772ccab6}{count\_\-if} (const ArrayType \&arr, long low, long high, const ItemType \&item, const ElemType \&dummy, bool($\ast$if\_\-this)(const ElemType \&, const ItemType \&))
\item 
{\footnotesize template$<$typename ArrayType, typename ItemType, typename IfFunc$>$ }\\long \hyperlink{arrutil_8h_893fecfff3478162838753024091dc41}{count\_\-nonconseq\_\-if} (const ArrayType \&arr, long low, long high, const ItemType \&item, IfFunc \&if\_\-this)
\item 
{\footnotesize template$<$typename ArrayType, typename IfFunc$>$ }\\long \hyperlink{arrutil_8h_360804297a6b643bd09127e799f22b71}{count\_\-nonconseq\_\-if} (const ArrayType \&arr, long low, long high, IfFunc \&if\_\-this)
\item 
{\footnotesize template$<$typename ArrayType, typename ItemType, typename IfFunc$>$ }\\long \hyperlink{arrutil_8h_5d2419751d2c95b1ee4fd39ccbc696a1}{find\_\-if} (const ArrayType \&arr, long low, long high, const ItemType \&item, const IfFunc \&if\_\-this)
\item 
{\footnotesize template$<$typename ArrayType, typename ItemType, typename IfFunc$>$ }\\long \hyperlink{arrutil_8h_74da6d3cbadf49e0c670106d20fecb13}{find\_\-if} (const ArrayType \&arr, long low, long high, const ItemType \&item, IfFunc \&if\_\-this)
\item 
{\footnotesize template$<$typename ArrayType, typename Function$>$ }\\void \hyperlink{arrutil_8h_938dcf177597425a5fed2ec66c9f4747}{for\_\-each} (ArrayType \&arr, long low, long high, const Function \&do\_\-this)
\item 
{\footnotesize template$<$typename ArrayType, typename Function$>$ }\\void \hyperlink{arrutil_8h_9bdf161286db9ec7a0cdbbbb1fe9843e}{for\_\-each} (ArrayType \&arr, long low, long high, Function \&do\_\-this)
\end{CompactItemize}


\subsection{Function Documentation}
\hypertarget{arrutil_8h_8c52b83f6c5a48caecb7bb25772ccab6}{
\index{arrutil.h@{arrutil.h}!count\_\-if@{count\_\-if}}
\index{count\_\-if@{count\_\-if}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename ElemType, typename ItemType$>$ long count\_\-if (const ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  const ItemType \& {\em item}, \/  const ElemType \& {\em dummy}, \/  bool($\ast$)(const ElemType \&, const ItemType \&) {\em if\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_8c52b83f6c5a48caecb7bb25772ccab6}




Definition at line 35 of file arrutil.h.\hypertarget{arrutil_8h_9a07f7439821f6a46789816c24efa30e}{
\index{arrutil.h@{arrutil.h}!count\_\-if@{count\_\-if}}
\index{count\_\-if@{count\_\-if}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename ElemType$>$ long count\_\-if (const ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  const ElemType \& {\em dummy}, \/  bool($\ast$)(const ElemType \&) {\em if\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_9a07f7439821f6a46789816c24efa30e}




Definition at line 22 of file arrutil.h.\hypertarget{arrutil_8h_360804297a6b643bd09127e799f22b71}{
\index{arrutil.h@{arrutil.h}!count\_\-nonconseq\_\-if@{count\_\-nonconseq\_\-if}}
\index{count\_\-nonconseq\_\-if@{count\_\-nonconseq\_\-if}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename IfFunc$>$ long count\_\-nonconseq\_\-if (const ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  IfFunc \& {\em if\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_360804297a6b643bd09127e799f22b71}




Definition at line 68 of file arrutil.h.\hypertarget{arrutil_8h_893fecfff3478162838753024091dc41}{
\index{arrutil.h@{arrutil.h}!count\_\-nonconseq\_\-if@{count\_\-nonconseq\_\-if}}
\index{count\_\-nonconseq\_\-if@{count\_\-nonconseq\_\-if}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename ItemType, typename IfFunc$>$ long count\_\-nonconseq\_\-if (const ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  const ItemType \& {\em item}, \/  IfFunc \& {\em if\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_893fecfff3478162838753024091dc41}




Definition at line 49 of file arrutil.h.\hypertarget{arrutil_8h_74da6d3cbadf49e0c670106d20fecb13}{
\index{arrutil.h@{arrutil.h}!find\_\-if@{find\_\-if}}
\index{find\_\-if@{find\_\-if}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename ItemType, typename IfFunc$>$ long find\_\-if (const ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  const ItemType \& {\em item}, \/  IfFunc \& {\em if\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_74da6d3cbadf49e0c670106d20fecb13}




Definition at line 97 of file arrutil.h.\hypertarget{arrutil_8h_5d2419751d2c95b1ee4fd39ccbc696a1}{
\index{arrutil.h@{arrutil.h}!find\_\-if@{find\_\-if}}
\index{find\_\-if@{find\_\-if}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename ItemType, typename IfFunc$>$ long find\_\-if (const ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  const ItemType \& {\em item}, \/  const IfFunc \& {\em if\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_5d2419751d2c95b1ee4fd39ccbc696a1}




Definition at line 86 of file arrutil.h.

Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=366pt]{arrutil_8h_5d2419751d2c95b1ee4fd39ccbc696a1_icgraph}
\end{center}
\end{figure}
\hypertarget{arrutil_8h_9bdf161286db9ec7a0cdbbbb1fe9843e}{
\index{arrutil.h@{arrutil.h}!for\_\-each@{for\_\-each}}
\index{for\_\-each@{for\_\-each}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename Function$>$ void for\_\-each (ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  Function \& {\em do\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_9bdf161286db9ec7a0cdbbbb1fe9843e}




Definition at line 117 of file arrutil.h.\hypertarget{arrutil_8h_938dcf177597425a5fed2ec66c9f4747}{
\index{arrutil.h@{arrutil.h}!for\_\-each@{for\_\-each}}
\index{for\_\-each@{for\_\-each}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename ArrayType, typename Function$>$ void for\_\-each (ArrayType \& {\em arr}, \/  long {\em low}, \/  long {\em high}, \/  const Function \& {\em do\_\-this})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_938dcf177597425a5fed2ec66c9f4747}




Definition at line 108 of file arrutil.h.

Here is the caller graph for this function:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=372pt]{arrutil_8h_938dcf177597425a5fed2ec66c9f4747_icgraph}
\end{center}
\end{figure}
\hypertarget{arrutil_8h_89f678d5d309a9f7186d5a2076ca57bd}{
\index{arrutil.h@{arrutil.h}!isEqualTo@{isEqualTo}}
\index{isEqualTo@{isEqualTo}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename FirstItem, typename SecondItem$>$ bool isEqualTo (const FirstItem \& {\em x}, \/  const SecondItem \& {\em y})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_89f678d5d309a9f7186d5a2076ca57bd}




Definition at line 7 of file arrutil.h.\hypertarget{arrutil_8h_43a49f0f3310aba8de2abdb0d6657cd2}{
\index{arrutil.h@{arrutil.h}!isGreaterThan@{isGreaterThan}}
\index{isGreaterThan@{isGreaterThan}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename FirstItem, typename SecondItem$>$ bool isGreaterThan (const FirstItem \& {\em x}, \/  const SecondItem \& {\em y})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_43a49f0f3310aba8de2abdb0d6657cd2}




Definition at line 17 of file arrutil.h.\hypertarget{arrutil_8h_5df688f0db56aae1bc16fc994c3be2d0}{
\index{arrutil.h@{arrutil.h}!isLessThan@{isLessThan}}
\index{isLessThan@{isLessThan}!arrutil.h@{arrutil.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}template$<$typename FirstItem, typename SecondItem$>$ bool isLessThan (const FirstItem \& {\em x}, \/  const SecondItem \& {\em y})\hspace{0.3cm}{\tt  \mbox{[}inline\mbox{]}}}}
\label{arrutil_8h_5df688f0db56aae1bc16fc994c3be2d0}




Definition at line 12 of file arrutil.h.