\section{lib/sfdpgen/post\-\_\-process.c File Reference}
\label{post__process_8c}\index{lib/sfdpgen/post\-\_\-process.\-c@{lib/sfdpgen/post\-\_\-process.\-c}}
{\ttfamily \#include \char`\"{}config.\-h\char`\"{}}\\*
{\ttfamily \#include $<$time.\-h$>$}\\*
{\ttfamily \#include $<$string.\-h$>$}\\*
{\ttfamily \#include $<$math.\-h$>$}\\*
{\ttfamily \#include \char`\"{}types.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}memory.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}globals.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}sparse\-\_\-solve.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}post\-\_\-process.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}overlap.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}spring\-\_\-electrical.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}call\-\_\-tri.\-h\char`\"{}}\\*
{\ttfamily \#include \char`\"{}sfdpinternal.\-h\char`\"{}}\\*
Include dependency graph for post\-\_\-process.\-c\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{post__process_8c__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf node\-\_\-degree}(i)~(ia[(i)+1] -\/ ia[(i)])
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Sparse\-Matrix} {\bf ideal\-\_\-distance\-\_\-matrix} ({\bf Sparse\-Matrix} A, {\bf int} dim, {\bf real} $\ast$x)
\item 
{\bf Stress\-Majorization\-Smoother} {\bf Stress\-Majorization\-Smoother2\-\_\-new} ({\bf Sparse\-Matrix} A, {\bf int} dim, {\bf real} lambda0, {\bf real} $\ast$x, {\bf int} ideal\-\_\-dist\-\_\-scheme)
\item 
{\bf Stress\-Majorization\-Smoother} {\bf Sparse\-Stress\-Majorization\-Smoother\-\_\-new} ({\bf Sparse\-Matrix} A, {\bf int} dim, {\bf real} lambda0, {\bf real} $\ast$x, {\bf int} weighting\-\_\-scheme, {\bf int} scale\-\_\-initial\-\_\-coord)
\item 
void {\bf Sparse\-Stress\-Majorization\-Smoother\-\_\-delete} ({\bf Sparse\-Stress\-Majorization\-Smoother} sm)
\item 
{\bf real} {\bf Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth} ({\bf Sparse\-Stress\-Majorization\-Smoother} sm, {\bf int} dim, {\bf real} $\ast$x, {\bf int} maxit\-\_\-sm, {\bf real} tol)
\item 
{\bf real} {\bf get\-\_\-stress} ({\bf int} m, {\bf int} dim, {\bf int} $\ast$iw, {\bf int} $\ast$jw, {\bf real} $\ast$w, {\bf real} $\ast$d, {\bf real} $\ast$x, {\bf real} scaling, void $\ast${\bf data}, {\bf int} weighted)
\item 
{\bf real} {\bf Stress\-Majorization\-Smoother\-\_\-smooth} ({\bf Stress\-Majorization\-Smoother} sm, {\bf int} dim, {\bf real} $\ast$x, {\bf int} maxit\-\_\-sm, {\bf real} tol)
\item 
void {\bf Stress\-Majorization\-Smoother\-\_\-delete} ({\bf Stress\-Majorization\-Smoother} sm)
\item 
{\bf Triangle\-Smoother} {\bf Triangle\-Smoother\-\_\-new} ({\bf Sparse\-Matrix} A, {\bf int} dim, {\bf real} lambda0, {\bf real} $\ast$x, {\bf int} use\-\_\-triangularization)
\item 
void {\bf Triangle\-Smoother\-\_\-delete} ({\bf Triangle\-Smoother} sm)
\item 
void {\bf Triangle\-Smoother\-\_\-smooth} ({\bf Triangle\-Smoother} sm, {\bf int} dim, {\bf real} $\ast$x)
\item 
{\bf Spring\-Smoother} {\bf Spring\-Smoother\-\_\-new} ({\bf Sparse\-Matrix} A, {\bf int} dim, {\bf spring\-\_\-electrical\-\_\-control} ctrl, {\bf real} $\ast$x)
\item 
void {\bf Spring\-Smoother\-\_\-delete} ({\bf Spring\-Smoother} sm)
\item 
void {\bf Spring\-Smoother\-\_\-smooth} ({\bf Spring\-Smoother} sm, {\bf Sparse\-Matrix} A, {\bf real} $\ast$node\-\_\-weights, {\bf int} dim, {\bf real} $\ast$x)
\item 
void {\bf post\-\_\-process\-\_\-smoothing} ({\bf int} dim, {\bf Sparse\-Matrix} A, {\bf spring\-\_\-electrical\-\_\-control} ctrl, {\bf real} $\ast$node\-\_\-weights, {\bf real} $\ast$x, {\bf int} $\ast$flag)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!node\-\_\-degree@{node\-\_\-degree}}
\index{node\-\_\-degree@{node\-\_\-degree}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{node\-\_\-degree}]{\setlength{\rightskip}{0pt plus 5cm}\#define node\-\_\-degree(
\begin{DoxyParamCaption}
\item[{}]{i}
\end{DoxyParamCaption}
)~(ia[(i)+1] -\/ ia[(i)])}\label{post__process_8c_af6b7916ade63c266e8833e47f87920f7}


Definition at line 31 of file post\-\_\-process.\-c.



Referenced by ideal\-\_\-distance\-\_\-matrix().



\subsection{Function Documentation}
\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!get\-\_\-stress@{get\-\_\-stress}}
\index{get\-\_\-stress@{get\-\_\-stress}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{get\-\_\-stress}]{\setlength{\rightskip}{0pt plus 5cm}{\bf real} get\-\_\-stress (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{m, }
\item[{{\bf int}}]{dim, }
\item[{{\bf int} $\ast$}]{iw, }
\item[{{\bf int} $\ast$}]{jw, }
\item[{{\bf real} $\ast$}]{w, }
\item[{{\bf real} $\ast$}]{d, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf real}}]{scaling, }
\item[{void $\ast$}]{data, }
\item[{{\bf int}}]{weighted}
\end{DoxyParamCaption}
)}\label{post__process_8c_a32b3986d5f1d1ea2bffe0d3b5d92ed74}


Definition at line 765 of file post\-\_\-process.\-c.



References dist(), distance(), and real.



Referenced by Stress\-Majorization\-Smoother\-\_\-smooth().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!ideal\-\_\-distance\-\_\-matrix@{ideal\-\_\-distance\-\_\-matrix}}
\index{ideal\-\_\-distance\-\_\-matrix@{ideal\-\_\-distance\-\_\-matrix}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{ideal\-\_\-distance\-\_\-matrix}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sparse\-Matrix} ideal\-\_\-distance\-\_\-matrix (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x}
\end{DoxyParamCaption}
)}\label{post__process_8c_a512f93cca4ed1b01d2b1bb603b077501}


Definition at line 251 of file post\-\_\-process.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, assert, distance(), F\-A\-L\-S\-E, F\-R\-E\-E, Sparse\-Matrix\-\_\-struct\-::ia, Sparse\-Matrix\-\_\-struct\-::ja, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, N\-\_\-\-G\-N\-E\-W, node\-\_\-degree, N\-U\-L\-L, Sparse\-Matrix\-\_\-struct\-::nz, real, Sparse\-Matrix\-\_\-copy(), Sparse\-Matrix\-\_\-is\-\_\-symmetric(), and Sparse\-Matrix\-\_\-struct\-::type.



Referenced by Spring\-Smoother\-\_\-new(), and Stress\-Majorization\-Smoother2\-\_\-new().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!post\-\_\-process\-\_\-smoothing@{post\-\_\-process\-\_\-smoothing}}
\index{post\-\_\-process\-\_\-smoothing@{post\-\_\-process\-\_\-smoothing}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{post\-\_\-process\-\_\-smoothing}]{\setlength{\rightskip}{0pt plus 5cm}void post\-\_\-process\-\_\-smoothing (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{dim, }
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf spring\-\_\-electrical\-\_\-control}}]{ctrl, }
\item[{{\bf real} $\ast$}]{node\-\_\-weights, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int} $\ast$}]{flag}
\end{DoxyParamCaption}
)}\label{post__process_8c_a2ef7dd38cbb1172c7fa42793f8882252}


Definition at line 1268 of file post\-\_\-process.\-c.



References F\-A\-L\-S\-E, I\-D\-E\-A\-L\-\_\-\-A\-V\-G\-\_\-\-D\-I\-S\-T, I\-D\-E\-A\-L\-\_\-\-G\-R\-A\-P\-H\-\_\-\-D\-I\-S\-T, I\-D\-E\-A\-L\-\_\-\-P\-O\-W\-E\-R\-\_\-\-D\-I\-S\-T, Sparse\-Matrix\-\_\-struct\-::m, real, spring\-\_\-electrical\-\_\-control\-\_\-struct\-::smoothing, S\-M\-O\-O\-T\-H\-I\-N\-G\-\_\-\-R\-N\-G, S\-M\-O\-O\-T\-H\-I\-N\-G\-\_\-\-S\-P\-R\-I\-N\-G, S\-M\-O\-O\-T\-H\-I\-N\-G\-\_\-\-S\-T\-R\-E\-S\-S\-\_\-\-M\-A\-J\-O\-R\-I\-Z\-A\-T\-I\-O\-N\-\_\-\-A\-V\-G\-\_\-\-D\-I\-S\-T, S\-M\-O\-O\-T\-H\-I\-N\-G\-\_\-\-S\-T\-R\-E\-S\-S\-\_\-\-M\-A\-J\-O\-R\-I\-Z\-A\-T\-I\-O\-N\-\_\-\-G\-R\-A\-P\-H\-\_\-\-D\-I\-S\-T, S\-M\-O\-O\-T\-H\-I\-N\-G\-\_\-\-S\-T\-R\-E\-S\-S\-\_\-\-M\-A\-J\-O\-R\-I\-Z\-A\-T\-I\-O\-N\-\_\-\-P\-O\-W\-E\-R\-\_\-\-D\-I\-S\-T, S\-M\-O\-O\-T\-H\-I\-N\-G\-\_\-\-T\-R\-I\-A\-N\-G\-L\-E, Spring\-Smoother\-\_\-delete(), Spring\-Smoother\-\_\-new(), Spring\-Smoother\-\_\-smooth(), Stress\-Majorization\-Smoother2\-\_\-new(), Stress\-Majorization\-Smoother\-\_\-delete(), Stress\-Majorization\-Smoother\-\_\-smooth(), Triangle\-Smoother\-\_\-delete(), Triangle\-Smoother\-\_\-new(), Triangle\-Smoother\-\_\-smooth(), T\-R\-U\-E, and Verbose.

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Sparse\-Stress\-Majorization\-Smoother\-\_\-delete@{Sparse\-Stress\-Majorization\-Smoother\-\_\-delete}}
\index{Sparse\-Stress\-Majorization\-Smoother\-\_\-delete@{Sparse\-Stress\-Majorization\-Smoother\-\_\-delete}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Sparse\-Stress\-Majorization\-Smoother\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void Sparse\-Stress\-Majorization\-Smoother\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Stress\-Majorization\-Smoother}}]{sm}
\end{DoxyParamCaption}
)}\label{post__process_8c_a49151dfb98ba6e406740af3e227ec36b}


Definition at line 652 of file post\-\_\-process.\-c.



References Stress\-Majorization\-Smoother\-\_\-delete().



Referenced by stress\-\_\-model\-\_\-core().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Sparse\-Stress\-Majorization\-Smoother\-\_\-new@{Sparse\-Stress\-Majorization\-Smoother\-\_\-new}}
\index{Sparse\-Stress\-Majorization\-Smoother\-\_\-new@{Sparse\-Stress\-Majorization\-Smoother\-\_\-new}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Sparse\-Stress\-Majorization\-Smoother\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Stress\-Majorization\-Smoother} Sparse\-Stress\-Majorization\-Smoother\-\_\-new (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real}}]{lambda0, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int}}]{weighting\-\_\-scheme, }
\item[{{\bf int}}]{scale\-\_\-initial\-\_\-coord}
\end{DoxyParamCaption}
)}\label{post__process_8c_afad211a9f4f0b13f4a0ed7072db476b8}


Definition at line 513 of file post\-\_\-process.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, assert, Stress\-Majorization\-Smoother\-\_\-struct\-::\-D, Stress\-Majorization\-Smoother\-\_\-struct\-::data, dist(), distance(), drand(), F\-A\-L\-S\-E, F\-O\-R\-M\-A\-T\-\_\-\-C\-S\-R, Sparse\-Matrix\-\_\-struct\-::ia, int, Sparse\-Matrix\-\_\-struct\-::ja, Stress\-Majorization\-Smoother\-\_\-struct\-::lambda, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lw, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lwd, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-L\-L\-O\-C, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, Stress\-Majorization\-Smoother\-\_\-struct\-::maxit\-\_\-cg, N\-U\-L\-L, Sparse\-Matrix\-\_\-struct\-::nz, real, Stress\-Majorization\-Smoother\-\_\-struct\-::scaling, Stress\-Majorization\-Smoother\-\_\-struct\-::scheme, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-N\-O\-R\-M\-A\-L, Sparse\-Matrix\-\_\-is\-\_\-symmetric(), Sparse\-Matrix\-\_\-new(), Stress\-Majorization\-Smoother\-\_\-delete(), Stress\-Majorization\-Smoother\-\_\-struct\-::tol\-\_\-cg, Sparse\-Matrix\-\_\-struct\-::type, W\-E\-I\-G\-H\-T\-I\-N\-G\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-I\-N\-V\-\_\-\-D\-I\-S\-T, W\-E\-I\-G\-H\-T\-I\-N\-G\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-N\-O\-N\-E, and W\-E\-I\-G\-H\-T\-I\-N\-G\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-S\-Q\-R\-\_\-\-D\-I\-S\-T.



Referenced by stress\-\_\-model\-\_\-core().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth@{Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth}}
\index{Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth@{Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth}]{\setlength{\rightskip}{0pt plus 5cm}{\bf real} Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Stress\-Majorization\-Smoother}}]{sm, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int}}]{maxit\-\_\-sm, }
\item[{{\bf real}}]{tol}
\end{DoxyParamCaption}
)}\label{post__process_8c_a8aca353e7593add33ee770af112d16b0}


Definition at line 657 of file post\-\_\-process.\-c.



References Stress\-Majorization\-Smoother\-\_\-smooth().



Referenced by stress\-\_\-model\-\_\-core().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Spring\-Smoother\-\_\-delete@{Spring\-Smoother\-\_\-delete}}
\index{Spring\-Smoother\-\_\-delete@{Spring\-Smoother\-\_\-delete}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Spring\-Smoother\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void Spring\-Smoother\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Spring\-Smoother}}]{sm}
\end{DoxyParamCaption}
)}\label{post__process_8c_a692ea8e0ca419e0fb06e434c6afadbee}


Definition at line 1249 of file post\-\_\-process.\-c.



References Spring\-Smoother\-\_\-struct\-::ctrl, Spring\-Smoother\-\_\-struct\-::\-D, Sparse\-Matrix\-\_\-delete(), and spring\-\_\-electrical\-\_\-control\-\_\-delete().



Referenced by post\-\_\-process\-\_\-smoothing(), and Spring\-Smoother\-\_\-new().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Spring\-Smoother\-\_\-new@{Spring\-Smoother\-\_\-new}}
\index{Spring\-Smoother\-\_\-new@{Spring\-Smoother\-\_\-new}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Spring\-Smoother\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Spring\-Smoother} Spring\-Smoother\-\_\-new (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{dim, }
\item[{{\bf spring\-\_\-electrical\-\_\-control}}]{ctrl, }
\item[{{\bf real} $\ast$}]{x}
\end{DoxyParamCaption}
)}\label{post__process_8c_a0c7221139315a7b5d69fcab691892616}


Definition at line 1141 of file post\-\_\-process.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, assert, Spring\-Smoother\-\_\-struct\-::ctrl, Spring\-Smoother\-\_\-struct\-::\-D, distance(), F\-A\-L\-S\-E, for(), F\-O\-R\-M\-A\-T\-\_\-\-C\-S\-R, F\-R\-E\-E, Sparse\-Matrix\-\_\-struct\-::ia, I\-D, ideal\-\_\-distance\-\_\-matrix(), Sparse\-Matrix\-\_\-struct\-::ja, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, spring\-\_\-electrical\-\_\-control\-\_\-struct\-::maxiter, spring\-\_\-electrical\-\_\-control\-\_\-struct\-::multilevels, N\-\_\-\-G\-N\-E\-W, N\-U\-L\-L, Sparse\-Matrix\-\_\-struct\-::nz, spring\-\_\-electrical\-\_\-control\-\_\-struct\-::random\-\_\-start, real, Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-is\-\_\-symmetric(), Sparse\-Matrix\-\_\-new(), spring\-\_\-electrical\-\_\-control\-\_\-new(), Spring\-Smoother\-\_\-delete(), and spring\-\_\-electrical\-\_\-control\-\_\-struct\-::step.



Referenced by post\-\_\-process\-\_\-smoothing().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Spring\-Smoother\-\_\-smooth@{Spring\-Smoother\-\_\-smooth}}
\index{Spring\-Smoother\-\_\-smooth@{Spring\-Smoother\-\_\-smooth}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Spring\-Smoother\-\_\-smooth}]{\setlength{\rightskip}{0pt plus 5cm}void Spring\-Smoother\-\_\-smooth (
\begin{DoxyParamCaption}
\item[{{\bf Spring\-Smoother}}]{sm, }
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf real} $\ast$}]{node\-\_\-weights, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x}
\end{DoxyParamCaption}
)}\label{post__process_8c_a68ce4ee5cce80fa4c01878cb330f9066}


Definition at line 1258 of file post\-\_\-process.\-c.



References assert, Spring\-Smoother\-\_\-struct\-::ctrl, Spring\-Smoother\-\_\-struct\-::\-D, and spring\-\_\-electrical\-\_\-spring\-\_\-embedding().



Referenced by post\-\_\-process\-\_\-smoothing().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Stress\-Majorization\-Smoother2\-\_\-new@{Stress\-Majorization\-Smoother2\-\_\-new}}
\index{Stress\-Majorization\-Smoother2\-\_\-new@{Stress\-Majorization\-Smoother2\-\_\-new}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Stress\-Majorization\-Smoother2\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Stress\-Majorization\-Smoother} Stress\-Majorization\-Smoother2\-\_\-new (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real}}]{lambda0, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int}}]{ideal\-\_\-dist\-\_\-scheme}
\end{DoxyParamCaption}
)}\label{post__process_8c_abf1c4872a54f879597b8aecd7ef3a55c}


Definition at line 320 of file post\-\_\-process.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, assert, Stress\-Majorization\-Smoother\-\_\-struct\-::data, dist(), distance(), distance\-\_\-cropped(), F\-A\-L\-S\-E, F\-O\-R\-M\-A\-T\-\_\-\-C\-S\-R, F\-R\-E\-E, G\-N\-E\-W, Sparse\-Matrix\-\_\-struct\-::ia, I\-D, I\-D\-E\-A\-L\-\_\-\-A\-V\-G\-\_\-\-D\-I\-S\-T, ideal\-\_\-distance\-\_\-matrix(), I\-D\-E\-A\-L\-\_\-\-G\-R\-A\-P\-H\-\_\-\-D\-I\-S\-T, I\-D\-E\-A\-L\-\_\-\-P\-O\-W\-E\-R\-\_\-\-D\-I\-S\-T, int, Sparse\-Matrix\-\_\-struct\-::ja, Stress\-Majorization\-Smoother\-\_\-struct\-::lambda, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lw, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lwd, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-T\-R\-I\-X\-\_\-\-T\-Y\-P\-E\-\_\-\-R\-E\-A\-L, Stress\-Majorization\-Smoother\-\_\-struct\-::maxit\-\_\-cg, N\-\_\-\-G\-N\-E\-W, N\-U\-L\-L, Sparse\-Matrix\-\_\-struct\-::nz, real, Stress\-Majorization\-Smoother\-\_\-struct\-::scaling, Stress\-Majorization\-Smoother\-\_\-struct\-::scheme, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-N\-O\-R\-M\-A\-L, Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-is\-\_\-symmetric(), Sparse\-Matrix\-\_\-new(), Stress\-Majorization\-Smoother\-\_\-delete(), and Stress\-Majorization\-Smoother\-\_\-struct\-::tol\-\_\-cg.



Referenced by post\-\_\-process\-\_\-smoothing().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Stress\-Majorization\-Smoother\-\_\-delete@{Stress\-Majorization\-Smoother\-\_\-delete}}
\index{Stress\-Majorization\-Smoother\-\_\-delete@{Stress\-Majorization\-Smoother\-\_\-delete}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Stress\-Majorization\-Smoother\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void Stress\-Majorization\-Smoother\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Stress\-Majorization\-Smoother}}]{sm}
\end{DoxyParamCaption}
)}\label{post__process_8c_a9fbd23a10a7a0b3e9ab0034e8ce80a08}


Definition at line 1017 of file post\-\_\-process.\-c.



References Stress\-Majorization\-Smoother\-\_\-struct\-::data, Stress\-Majorization\-Smoother\-\_\-struct\-::data\-\_\-deallocator, F\-R\-E\-E, Stress\-Majorization\-Smoother\-\_\-struct\-::lambda, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lw, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lwd, and Sparse\-Matrix\-\_\-delete().



Referenced by post\-\_\-process\-\_\-smoothing(), Sparse\-Stress\-Majorization\-Smoother\-\_\-delete(), Sparse\-Stress\-Majorization\-Smoother\-\_\-new(), Stress\-Majorization\-Smoother2\-\_\-new(), Triangle\-Smoother\-\_\-delete(), Uniform\-Stress\-Smoother\-\_\-delete(), and Uniform\-Stress\-Smoother\-\_\-new().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Stress\-Majorization\-Smoother\-\_\-smooth@{Stress\-Majorization\-Smoother\-\_\-smooth}}
\index{Stress\-Majorization\-Smoother\-\_\-smooth@{Stress\-Majorization\-Smoother\-\_\-smooth}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Stress\-Majorization\-Smoother\-\_\-smooth}]{\setlength{\rightskip}{0pt plus 5cm}{\bf real} Stress\-Majorization\-Smoother\-\_\-smooth (
\begin{DoxyParamCaption}
\item[{{\bf Stress\-Majorization\-Smoother}}]{sm, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int}}]{maxit\-\_\-sm, }
\item[{{\bf real}}]{tol}
\end{DoxyParamCaption}
)}\label{post__process_8c_ab0e8dbaf9cb9662f49c9c6056fd4dc8a}


Definition at line 812 of file post\-\_\-process.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, assert, Stress\-Majorization\-Smoother\-\_\-struct\-::data, dist(), distance(), drand(), F\-A\-L\-S\-E, F\-R\-E\-E, get\-\_\-stress(), Sparse\-Matrix\-\_\-struct\-::ia, if(), Sparse\-Matrix\-\_\-struct\-::ja, Stress\-Majorization\-Smoother\-\_\-struct\-::lambda, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lw, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lwd, Sparse\-Matrix\-\_\-struct\-::m, M\-A\-L\-L\-O\-C, Stress\-Majorization\-Smoother\-\_\-struct\-::maxit\-\_\-cg, M\-E\-M\-C\-P\-Y, N\-\_\-\-G\-N\-E\-W, N\-U\-L\-L, real, Stress\-Majorization\-Smoother\-\_\-struct\-::scaling, Stress\-Majorization\-Smoother\-\_\-struct\-::scheme, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-M\-A\-X\-E\-N\-T, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-N\-O\-R\-M\-A\-L\-\_\-\-E\-L\-A\-B\-E\-L, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-S\-T\-R\-E\-S\-S, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-S\-T\-R\-E\-S\-S\-\_\-\-A\-P\-P\-R\-O\-X, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-U\-N\-I\-F\-O\-R\-M\-\_\-\-S\-T\-R\-E\-S\-S, S\-O\-L\-V\-E\-\_\-\-M\-E\-T\-H\-O\-D\-\_\-\-C\-G, Sparse\-Matrix\-\_\-add(), Sparse\-Matrix\-\_\-copy(), Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-multiply\-\_\-dense(), Sparse\-Matrix\-\_\-solve(), Stress\-Majorization\-Smoother\-\_\-struct\-::tol\-\_\-cg, vector\-\_\-product(), and Verbose.



Referenced by post\-\_\-process\-\_\-smoothing(), Sparse\-Stress\-Majorization\-Smoother\-\_\-smooth(), Triangle\-Smoother\-\_\-smooth(), and Uniform\-Stress\-Smoother\-\_\-smooth().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Triangle\-Smoother\-\_\-delete@{Triangle\-Smoother\-\_\-delete}}
\index{Triangle\-Smoother\-\_\-delete@{Triangle\-Smoother\-\_\-delete}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Triangle\-Smoother\-\_\-delete}]{\setlength{\rightskip}{0pt plus 5cm}void Triangle\-Smoother\-\_\-delete (
\begin{DoxyParamCaption}
\item[{{\bf Triangle\-Smoother}}]{sm}
\end{DoxyParamCaption}
)}\label{post__process_8c_ade6031b6c6dc3cc1a2060b4f2c50c7a9}


Definition at line 1126 of file post\-\_\-process.\-c.



References Stress\-Majorization\-Smoother\-\_\-delete().



Referenced by post\-\_\-process\-\_\-smoothing(), and Triangle\-Smoother\-\_\-new().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Triangle\-Smoother\-\_\-new@{Triangle\-Smoother\-\_\-new}}
\index{Triangle\-Smoother\-\_\-new@{Triangle\-Smoother\-\_\-new}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Triangle\-Smoother\-\_\-new}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Triangle\-Smoother} Triangle\-Smoother\-\_\-new (
\begin{DoxyParamCaption}
\item[{{\bf Sparse\-Matrix}}]{A, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real}}]{lambda0, }
\item[{{\bf real} $\ast$}]{x, }
\item[{{\bf int}}]{use\-\_\-triangularization}
\end{DoxyParamCaption}
)}\label{post__process_8c_ace4994837609cdc4bcb24fc6542436c6}


Definition at line 1027 of file post\-\_\-process.\-c.



References Sparse\-Matrix\-\_\-struct\-::a, assert, call\-\_\-tri(), call\-\_\-tri2(), Stress\-Majorization\-Smoother\-\_\-struct\-::data, dist(), distance(), distance\-\_\-cropped(), F\-A\-L\-S\-E, F\-R\-E\-E, Sparse\-Matrix\-\_\-struct\-::ia, if(), int, Sparse\-Matrix\-\_\-struct\-::ja, Stress\-Majorization\-Smoother\-\_\-struct\-::lambda, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lw, Stress\-Majorization\-Smoother\-\_\-struct\-::\-Lwd, Sparse\-Matrix\-\_\-struct\-::m, Stress\-Majorization\-Smoother\-\_\-struct\-::maxit\-\_\-cg, N\-\_\-\-G\-N\-E\-W, N\-U\-L\-L, real, Stress\-Majorization\-Smoother\-\_\-struct\-::scaling, Stress\-Majorization\-Smoother\-\_\-struct\-::scheme, S\-M\-\_\-\-S\-C\-H\-E\-M\-E\-\_\-\-N\-O\-R\-M\-A\-L, Sparse\-Matrix\-\_\-add(), Sparse\-Matrix\-\_\-copy(), Sparse\-Matrix\-\_\-delete(), Sparse\-Matrix\-\_\-is\-\_\-symmetric(), Stress\-Majorization\-Smoother\-\_\-struct\-::tol\-\_\-cg, Triangle\-Smoother\-\_\-delete(), and Triangle\-Smoother\-\_\-struct.



Referenced by post\-\_\-process\-\_\-smoothing().

\index{post\-\_\-process.\-c@{post\-\_\-process.\-c}!Triangle\-Smoother\-\_\-smooth@{Triangle\-Smoother\-\_\-smooth}}
\index{Triangle\-Smoother\-\_\-smooth@{Triangle\-Smoother\-\_\-smooth}!post_process.c@{post\-\_\-process.\-c}}
\subsubsection[{Triangle\-Smoother\-\_\-smooth}]{\setlength{\rightskip}{0pt plus 5cm}void Triangle\-Smoother\-\_\-smooth (
\begin{DoxyParamCaption}
\item[{{\bf Triangle\-Smoother}}]{sm, }
\item[{{\bf int}}]{dim, }
\item[{{\bf real} $\ast$}]{x}
\end{DoxyParamCaption}
)}\label{post__process_8c_a510c789cd81e78983e1c513bdf05c41c}


Definition at line 1132 of file post\-\_\-process.\-c.



References Stress\-Majorization\-Smoother\-\_\-smooth().



Referenced by post\-\_\-process\-\_\-smoothing().

