\section{lib/neatogen/conjgrad.h File Reference}
\label{conjgrad_8h}\index{lib/neatogen/conjgrad.\-h@{lib/neatogen/conjgrad.\-h}}
{\ttfamily \#include \char`\"{}defs.\-h\char`\"{}}\\*
Include dependency graph for conjgrad.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{conjgrad_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=286pt]{conjgrad_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf \-\_\-\-C\-G\-\_\-\-H\-\_\-}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf int} {\bf conjugate\-\_\-gradient} ({\bf vtx\-\_\-data} $\ast$, double $\ast$, double $\ast$, {\bf int}, double, {\bf int})
\item 
{\bf int} {\bf conjugate\-\_\-gradient\-\_\-f} (float $\ast$$\ast$, double $\ast$, double $\ast$, {\bf int}, double, {\bf int}, {\bf boolean})
\item 
{\bf int} {\bf conjugate\-\_\-gradient\-\_\-mkernel} (float $\ast$, float $\ast$, float $\ast$, {\bf int}, double, {\bf int})
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{conjgrad.\-h@{conjgrad.\-h}!\-\_\-\-C\-G\-\_\-\-H\-\_\-@{\-\_\-\-C\-G\-\_\-\-H\-\_\-}}
\index{\-\_\-\-C\-G\-\_\-\-H\-\_\-@{\-\_\-\-C\-G\-\_\-\-H\-\_\-}!conjgrad.h@{conjgrad.\-h}}
\subsubsection[{\-\_\-\-C\-G\-\_\-\-H\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-C\-G\-\_\-\-H\-\_\-}\label{conjgrad_8h_a5c0f23b6b0dc7733dee239b68ec91500}


Definition at line 21 of file conjgrad.\-h.



\subsection{Function Documentation}
\index{conjgrad.\-h@{conjgrad.\-h}!conjugate\-\_\-gradient@{conjugate\-\_\-gradient}}
\index{conjugate\-\_\-gradient@{conjugate\-\_\-gradient}!conjgrad.h@{conjgrad.\-h}}
\subsubsection[{conjugate\-\_\-gradient}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} conjugate\-\_\-gradient (
\begin{DoxyParamCaption}
\item[{{\bf vtx\-\_\-data} $\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{double}]{, }
\item[{{\bf int}}]{}
\end{DoxyParamCaption}
)}\label{conjgrad_8h_a5e461b3f30b942836fa955ae12a93a62}


Definition at line 26 of file conjgrad.\-c.



References agerr(), A\-G\-E\-R\-R, alpha, copy\-\_\-vector(), N\-\_\-\-G\-N\-E\-W, orthog1(), right\-\_\-mult\-\_\-with\-\_\-vector(), vectors\-\_\-addition(), vectors\-\_\-inner\-\_\-product(), vectors\-\_\-scalar\-\_\-mult(), and vectors\-\_\-subtraction().



Referenced by cg().

\index{conjgrad.\-h@{conjgrad.\-h}!conjugate\-\_\-gradient\-\_\-f@{conjugate\-\_\-gradient\-\_\-f}}
\index{conjugate\-\_\-gradient\-\_\-f@{conjugate\-\_\-gradient\-\_\-f}!conjgrad.h@{conjgrad.\-h}}
\subsubsection[{conjugate\-\_\-gradient\-\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} conjugate\-\_\-gradient\-\_\-f (
\begin{DoxyParamCaption}
\item[{float $\ast$$\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{double}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf boolean}}]{}
\end{DoxyParamCaption}
)}\label{conjgrad_8h_a55f010b65f47b8e482ccd1514f9a2fa9}


Definition at line 99 of file conjgrad.\-c.



References agerr(), A\-G\-E\-R\-R, alpha, copy\-\_\-vector(), N\-\_\-\-G\-N\-E\-W, orthog1(), right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f(), vectors\-\_\-addition(), vectors\-\_\-inner\-\_\-product(), vectors\-\_\-scalar\-\_\-mult(), and vectors\-\_\-subtraction().

\index{conjgrad.\-h@{conjgrad.\-h}!conjugate\-\_\-gradient\-\_\-mkernel@{conjugate\-\_\-gradient\-\_\-mkernel}}
\index{conjugate\-\_\-gradient\-\_\-mkernel@{conjugate\-\_\-gradient\-\_\-mkernel}!conjgrad.h@{conjgrad.\-h}}
\subsubsection[{conjugate\-\_\-gradient\-\_\-mkernel}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} conjugate\-\_\-gradient\-\_\-mkernel (
\begin{DoxyParamCaption}
\item[{float $\ast$}]{, }
\item[{float $\ast$}]{, }
\item[{float $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{double}]{, }
\item[{{\bf int}}]{}
\end{DoxyParamCaption}
)}\label{conjgrad_8h_a576e68abccac6a28f59f589a113eaddc}


Definition at line 168 of file conjgrad.\-c.



References agerr(), A\-G\-E\-R\-R, alpha, copy\-\_\-vectorf(), N\-\_\-\-N\-E\-W, orthog1f(), right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff(), vectors\-\_\-additionf(), vectors\-\_\-inner\-\_\-productf(), vectors\-\_\-mult\-\_\-additionf(), vectors\-\_\-scalar\-\_\-multf(), and vectors\-\_\-substractionf().



Referenced by stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

