\section{lib/neatogen/pca.c File Reference}
\label{pca_8c}\index{lib/neatogen/pca.\-c@{lib/neatogen/pca.\-c}}
{\ttfamily \#include \char`\"{}matrix\-\_\-ops.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}pca.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}closest.\-h\char`\"{}}\\*
{\ttfamily \#include $<$stdio.\-h$>$}\\*
{\ttfamily \#include $<$stdlib.\-h$>$}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
Include dependency graph for pca.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{pca_8c__incl}
\end{center}
\end{figure}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf P\-C\-A\-\_\-alloc} ({\bf Dist\-Type} $\ast$$\ast$coords, {\bf int} dim, {\bf int} n, double $\ast$$\ast$new\-\_\-coords, {\bf int} new\-\_\-dim)
\item 
{\bf boolean} {\bf iterative\-P\-C\-A\-\_\-1\-D} (double $\ast$$\ast$coords, {\bf int} dim, {\bf int} n, double $\ast$new\-\_\-direction)
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\index{pca.\-c@{pca.\-c}!iterative\-P\-C\-A\-\_\-1\-D@{iterative\-P\-C\-A\-\_\-1\-D}}
\index{iterative\-P\-C\-A\-\_\-1\-D@{iterative\-P\-C\-A\-\_\-1\-D}!pca.c@{pca.\-c}}
\subsubsection[{iterative\-P\-C\-A\-\_\-1\-D}]{\setlength{\rightskip}{0pt plus 5cm}{\bf boolean} iterative\-P\-C\-A\-\_\-1\-D (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{coords, }
\item[{{\bf int}}]{dim, }
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{new\-\_\-direction}
\end{DoxyParamCaption}
)}\label{pca_8c_ac6917e018976cec0dadf53e5989c5c91}


Definition at line 79 of file pca.\-c.



References closest\-\_\-pairs2graph(), mult\-\_\-dense\-\_\-mat\-\_\-d(), mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose(), N\-U\-L\-L, power\-\_\-iteration(), and T\-R\-U\-E.

\index{pca.\-c@{pca.\-c}!P\-C\-A\-\_\-alloc@{P\-C\-A\-\_\-alloc}}
\index{P\-C\-A\-\_\-alloc@{P\-C\-A\-\_\-alloc}!pca.c@{pca.\-c}}
\subsubsection[{P\-C\-A\-\_\-alloc}]{\setlength{\rightskip}{0pt plus 5cm}void P\-C\-A\-\_\-alloc (
\begin{DoxyParamCaption}
\item[{{\bf Dist\-Type} $\ast$$\ast$}]{coords, }
\item[{{\bf int}}]{dim, }
\item[{{\bf int}}]{n, }
\item[{double $\ast$$\ast$}]{new\-\_\-coords, }
\item[{{\bf int}}]{new\-\_\-dim}
\end{DoxyParamCaption}
)}\label{pca_8c_a028e87ff3b1f39726c251f76005387a7}


Definition at line 25 of file pca.\-c.



References N\-\_\-\-G\-N\-E\-W, N\-U\-L\-L, power\-\_\-iteration(), and T\-R\-U\-E.

