\hypertarget{utils_8h}{}\doxysection{libgymbo/utils.h File Reference}
\label{utils_8h}\index{libgymbo/utils.h@{libgymbo/utils.h}}


Utility funcitons and classes.  


{\ttfamily \#include $<$bitset$>$}\newline
{\ttfamily \#include $<$cmath$>$}\newline
{\ttfamily \#include $<$cstdint$>$}\newline
{\ttfamily \#include $<$cstring$>$}\newline
{\ttfamily \#include $<$string$>$}\newline
{\ttfamily \#include $<$vector$>$}\newline
Include dependency graph for utils.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{utils_8h__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=350pt]{utils_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsection*{Classes}
\begin{DoxyCompactItemize}
\item 
class \mbox{\hyperlink{classgymbo_1_1LLNode}{gymbo\+::\+LLNode$<$ T $>$}}
\begin{DoxyCompactList}\small\item\em \mbox{\hyperlink{structgymbo_1_1Node}{Node}} for a Doubly Linked List. \end{DoxyCompactList}\item 
class \mbox{\hyperlink{classgymbo_1_1Linkedlist}{gymbo\+::\+Linkedlist$<$ T $>$}}
\begin{DoxyCompactList}\small\item\em Doubly Linked List Implementation. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Namespaces}
\begin{DoxyCompactItemize}
\item 
 \mbox{\hyperlink{namespacegymbo}{gymbo}}
\end{DoxyCompactItemize}
\doxysubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
bool \mbox{\hyperlink{namespacegymbo_a3b85fc6f161fd1e6fc41113713affb0c}{gymbo\+::is\+\_\+integer}} (float x)
\begin{DoxyCompactList}\small\item\em Checks if a float is an integer. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{namespacegymbo_a859d05bd2582d5596d13b8325bfd5fdd}{gymbo\+::\+Float\+To\+Word}} (float val)
\begin{DoxyCompactList}\small\item\em Converts a float value to a 32-\/bit word representation. \end{DoxyCompactList}\item 
float \mbox{\hyperlink{namespacegymbo_a01f446a0ae49bb8ce2810309280c6668}{gymbo\+::word\+To\+Float}} (uint32\+\_\+t word)
\begin{DoxyCompactList}\small\item\em Converts a 32-\/bit word representation to a float value. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{namespacegymbo_a15891cbacb5598d7ca263500a1a5bee2}{gymbo\+::word\+To\+Int}} (uint32\+\_\+t word)
\begin{DoxyCompactList}\small\item\em Converts a 32-\/bit word representation to an integer value. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{namespacegymbo_a1c2d4305c63eaa26ee3a6f3cdcf3fa21}{gymbo\+::word\+To\+Signed\+Int}} (uint32\+\_\+t word)
\begin{DoxyCompactList}\small\item\em Converts a uint32\+\_\+t word to a signed int. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{namespacegymbo_ac8f3ff2f068b0209a7a57c2e8ff4c00f}{gymbo\+::word\+To\+Bool}} (uint32\+\_\+t word)
\begin{DoxyCompactList}\small\item\em Converts a uint32\+\_\+t word to a bool. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{namespacegymbo_aed223e0d69fdaa204dcac13aabd24c81}{gymbo\+::bool\+To\+Word}} (bool value)
\begin{DoxyCompactList}\small\item\em Converts a bool to a uint32\+\_\+t word. \end{DoxyCompactList}\item 
uint32\+\_\+t \mbox{\hyperlink{namespacegymbo_a36310e690be4b96736144967016a8a0b}{gymbo\+::twos\+Complement}} (uint32\+\_\+t i)
\begin{DoxyCompactList}\small\item\em Returns the twos complement of a uint32\+\_\+t word. \end{DoxyCompactList}\item 
bool \mbox{\hyperlink{namespacegymbo_a522f696c976f87e3ab2647520f58192e}{gymbo\+::is\+Negative}} (uint32\+\_\+t word)
\begin{DoxyCompactList}\small\item\em Checks if a uint32\+\_\+t word is negative. \end{DoxyCompactList}\item 
std\+::string \mbox{\hyperlink{namespacegymbo_a08e7c1f5fbe133aac3555ce9490af0dc}{gymbo\+::val\+Name}} (int i)
\begin{DoxyCompactList}\small\item\em Generates a name for a variable based on its index. \end{DoxyCompactList}\item 
std\+::vector$<$ std\+::vector$<$ int $>$ $>$ \mbox{\hyperlink{namespacegymbo_a9a616478635557c4e334a5c7016938e6}{gymbo\+::cartesian\+Product}} (const std\+::vector$<$ std\+::vector$<$ int $>$$>$ \&vectors)
\begin{DoxyCompactList}\small\item\em Compute the Cartesian product of a vector of vectors of integers. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Utility funcitons and classes. 

\begin{DoxyAuthor}{Author}
Hideaki Takahashi 
\end{DoxyAuthor}
