\section{lib/sparse/clustering.c File Reference}
\label{clustering_8c}\index{lib/sparse/clustering.\-c@{lib/sparse/clustering.\-c}}
{\ttfamily \#include \char`\"{}general.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}Sparse\-Matrix.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}clustering.\-h\char`\"{}}\\*
Include dependency graph for clustering.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{clustering_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf S\-T\-A\-N\-D\-A\-L\-O\-N\-E}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf modularity\-\_\-clustering} ({\bf Sparse\-Matrix} A, {\bf int} inplace, {\bf int} ncluster\-\_\-target, {\bf int} use\-\_\-value, {\bf int} $\ast$nclusters, {\bf int} $\ast$$\ast$assignment, {\bf real} $\ast$modularity, {\bf int} $\ast$flag)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{clustering.\-c@{clustering.\-c}!S\-T\-A\-N\-D\-A\-L\-O\-N\-E@{S\-T\-A\-N\-D\-A\-L\-O\-N\-E}}
\index{S\-T\-A\-N\-D\-A\-L\-O\-N\-E@{S\-T\-A\-N\-D\-A\-L\-O\-N\-E}!clustering.c@{clustering.\-c}}
\subsubsection[{S\-T\-A\-N\-D\-A\-L\-O\-N\-E}]{\setlength{\rightskip}{0pt plus 5cm}\#define S\-T\-A\-N\-D\-A\-L\-O\-N\-E}\label{clustering_8c_ab1c59581eafa11e55bf8f6ea8b877dd6}


Definition at line 14 of file clustering.\-c.



\subsection{Function Documentation}
\index{clustering.\-c@{clustering.\-c}!modularity\-\_\-clustering@{modularity\-\_\-clustering}}
\index{modularity\-\_\-clustering@{modularity\-\_\-clustering}!clustering.c@{clustering.\-c}}
\subsubsection[{modularity\-\_\-clustering}]{\setlength{\rightskip}{0pt plus 5cm}void modularity\-\_\-clustering (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{inplace, }
\item[{{\bf int}}]{ncluster\-\_\-target, }
\item[{{\bf int}}]{use\-\_\-value, }
\item[{{\bf int} $\ast$}]{nclusters, }
\item[{{\bf int} $\ast$$\ast$}]{assignment, }
\item[{{\bf real} $\ast$}]{modularity, }
\item[{{\bf int} $\ast$}]{flag}
\end{DoxyParamCaption}
)}\label{clustering_8c_a5753fa6cb1a7b361b021f20e5cff546b}


Definition at line 350 of file clustering.\-c.



References assert, F\-A\-L\-S\-E, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, Sparse\-Matrix\-\_\-struct\-::n, Sparse\-Matrix\-\_\-copy(), Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-remove\-\_\-diagonal(), Sparse\-Matrix\-\_\-set\-\_\-entries\-\_\-to\-\_\-real\-\_\-one(), Sparse\-Matrix\-\_\-symmetrize(), and Sparse\-Matrix\-\_\-struct\-::type.



Referenced by attached\-\_\-clustering(), and Import\-\_\-coord\-\_\-clusters\-\_\-from\-\_\-dot().

