\section{lib/neatogen/circuit.c File Reference}
\label{circuit_8c}\index{lib/neatogen/circuit.\-c@{lib/neatogen/circuit.\-c}}
{\ttfamily \#include \char`\"{}neato.\-h\char`\"{}}\\*
Include dependency graph for circuit.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{circuit_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf solve\-Circuit} ({\bf int} n\-G, double $\ast$$\ast$Gm, double $\ast$$\ast$Gm\-\_\-inv)
\item 
{\bf int} {\bf circuit\-\_\-model} ({\bf graph\-\_\-t} $\ast$g, {\bf int} n\-G)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{circuit.\-c@{circuit.\-c}!circuit\-\_\-model@{circuit\-\_\-model}}
\index{circuit\-\_\-model@{circuit\-\_\-model}!circuit.c@{circuit.\-c}}
\subsubsection[{circuit\-\_\-model}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} circuit\-\_\-model (
\begin{DoxyParamCaption}
\item[{{\bf graph\-\_\-t} $\ast$}]{g, }
\item[{{\bf int}}]{n\-G}
\end{DoxyParamCaption}
)}\label{circuit_8c_ad370daeed8a970743d6749b20b58bc21}


Definition at line 41 of file circuit.\-c.



References agfstedge(), agfstnode(), aghead(), agnxtedge(), agnxtnode(), A\-G\-S\-E\-Q, agtail(), E\-D\-\_\-dist, free\-\_\-array(), G\-D\-\_\-dist, new\-\_\-array(), and solve\-Circuit().

\index{circuit.\-c@{circuit.\-c}!solve\-Circuit@{solve\-Circuit}}
\index{solve\-Circuit@{solve\-Circuit}!circuit.c@{circuit.\-c}}
\subsubsection[{solve\-Circuit}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} solve\-Circuit (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n\-G, }
\item[{double $\ast$$\ast$}]{Gm, }
\item[{double $\ast$$\ast$}]{Gm\-\_\-inv}
\end{DoxyParamCaption}
)}\label{circuit_8c_af6957d3f1948aae99e3176a127d5cec8}


Definition at line 22 of file circuit.\-c.



References matinv(), and Verbose.



Referenced by circuit\-\_\-model(), and circuit\-Model().

