\section{lib/neatogen/matrix\-\_\-ops.h File Reference}
\label{matrix__ops_8h}\index{lib/neatogen/matrix\-\_\-ops.\-h@{lib/neatogen/matrix\-\_\-ops.\-h}}
{\ttfamily \#include \char`\"{}sparsegraph.\-h\char`\"{}}\\*
Include dependency graph for matrix\-\_\-ops.\-h\-:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=143pt]{matrix__ops_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=350pt]{matrix__ops_8h__dep__incl}
\end{center}
\end{figure}
\subsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define {\bf \-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-}
\end{DoxyCompactItemize}
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
void {\bf cpvec} (double $\ast$, {\bf int}, {\bf int}, double $\ast$)
\item 
double {\bf dot} (double $\ast$, {\bf int}, {\bf int}, double $\ast$)
\item 
void {\bf scadd} (double $\ast$, {\bf int}, {\bf int}, double, double $\ast$)
\item 
void {\bf vecscale} (double $\ast$, {\bf int}, {\bf int}, double, double $\ast$)
\item 
double {\bf norm} (double $\ast$, {\bf int}, {\bf int})
\item 
void {\bf orthog1} ({\bf int} n, double $\ast$vec)
\item 
void {\bf init\-\_\-vec\-\_\-orth1} ({\bf int} n, double $\ast$vec)
\item 
void {\bf right\-\_\-mult\-\_\-with\-\_\-vector} ({\bf vtx\-\_\-data} $\ast$, {\bf int}, double $\ast$, double $\ast$)
\item 
void {\bf right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f} (float $\ast$$\ast$, {\bf int}, double $\ast$, double $\ast$)
\item 
void {\bf vectors\-\_\-subtraction} ({\bf int}, double $\ast$, double $\ast$, double $\ast$)
\item 
void {\bf vectors\-\_\-addition} ({\bf int}, double $\ast$, double $\ast$, double $\ast$)
\item 
void {\bf vectors\-\_\-scalar\-\_\-mult} ({\bf int}, double $\ast$, double, double $\ast$)
\item 
void {\bf copy\-\_\-vector} ({\bf int} n, double $\ast$source, double $\ast$dest)
\item 
double {\bf vectors\-\_\-inner\-\_\-product} ({\bf int} n, double $\ast$vector1, double $\ast$vector2)
\item 
double {\bf max\-\_\-abs} ({\bf int} n, double $\ast$vector)
\item 
void {\bf right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose} (double $\ast$$\ast$, {\bf int}, {\bf int}, double $\ast$, double $\ast$)
\item 
void {\bf right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d} (double $\ast$$\ast$, {\bf int}, {\bf int}, double $\ast$, double $\ast$)
\item 
void {\bf mult\-\_\-dense\-\_\-mat} (double $\ast$$\ast$, float $\ast$$\ast$, {\bf int}, {\bf int}, {\bf int}, float $\ast$$\ast$$\ast${\bf C})
\item 
void {\bf mult\-\_\-dense\-\_\-mat\-\_\-d} (double $\ast$$\ast$, float $\ast$$\ast$, {\bf int}, {\bf int}, {\bf int}, double $\ast$$\ast$$\ast$C\-C)
\item 
void {\bf mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose} ({\bf vtx\-\_\-data} $\ast$, double $\ast$$\ast$, {\bf int}, {\bf int}, float $\ast$$\ast$$\ast$)
\item 
{\bf int} {\bf power\-\_\-iteration} (double $\ast$$\ast$, {\bf int}, {\bf int}, double $\ast$$\ast$, double $\ast$, {\bf int})
\item 
void {\bf orthog1f} ({\bf int} n, float $\ast$vec)
\item 
void {\bf right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff} (float $\ast$, {\bf int}, float $\ast$, float $\ast$)
\item 
void {\bf vectors\-\_\-substractionf} ({\bf int}, float $\ast$, float $\ast$, float $\ast$)
\item 
void {\bf vectors\-\_\-additionf} ({\bf int} n, float $\ast$vector1, float $\ast$vector2, float $\ast$result)
\item 
void {\bf vectors\-\_\-mult\-\_\-additionf} ({\bf int} n, float $\ast$vector1, float {\bf alpha}, float $\ast$vector2)
\item 
void {\bf vectors\-\_\-scalar\-\_\-multf} ({\bf int} n, float $\ast$vector, float {\bf alpha}, float $\ast$result)
\item 
void {\bf copy\-\_\-vectorf} ({\bf int} n, float $\ast$source, float $\ast$dest)
\item 
double {\bf vectors\-\_\-inner\-\_\-productf} ({\bf int} n, float $\ast$vector1, float $\ast$vector2)
\item 
void {\bf set\-\_\-vector\-\_\-val} ({\bf int} n, double val, double $\ast$result)
\item 
void {\bf set\-\_\-vector\-\_\-valf} ({\bf int} n, float val, float $\ast$result)
\item 
double {\bf max\-\_\-absf} ({\bf int} n, float $\ast$vector)
\item 
void {\bf square\-\_\-vec} ({\bf int} n, float $\ast$vec)
\item 
void {\bf invert\-\_\-vec} ({\bf int} n, float $\ast$vec)
\item 
void {\bf sqrt\-\_\-vec} ({\bf int} n, float $\ast$vec)
\item 
void {\bf sqrt\-\_\-vecf} ({\bf int} n, float $\ast$source, float $\ast$target)
\item 
void {\bf invert\-\_\-sqrt\-\_\-vec} ({\bf int} n, float $\ast$vec)
\end{DoxyCompactItemize}


\subsection{Macro Definition Documentation}
\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-@{\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-}}
\index{\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-@{\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{\-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-}]{\setlength{\rightskip}{0pt plus 5cm}\#define \-\_\-\-M\-A\-T\-R\-I\-X\-\_\-\-O\-P\-S\-\_\-\-H\-\_\-}\label{matrix__ops_8h_a62ba5b69d0f79e4ea5b24642aad6e2f1}


Definition at line 21 of file matrix\-\_\-ops.\-h.



\subsection{Function Documentation}
\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!copy\-\_\-vector@{copy\-\_\-vector}}
\index{copy\-\_\-vector@{copy\-\_\-vector}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{copy\-\_\-vector}]{\setlength{\rightskip}{0pt plus 5cm}void copy\-\_\-vector (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{source, }
\item[{double $\ast$}]{dest}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_aeb74e583773f83c3bf4143b62ccd90ef}


Definition at line 431 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient(), and conjugate\-\_\-gradient\-\_\-f().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!copy\-\_\-vectorf@{copy\-\_\-vectorf}}
\index{copy\-\_\-vectorf@{copy\-\_\-vectorf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{copy\-\_\-vectorf}]{\setlength{\rightskip}{0pt plus 5cm}void copy\-\_\-vectorf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{source, }
\item[{float $\ast$}]{dest}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a8ebcb651f9d919fbb2bcea50282111da}


Definition at line 657 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!cpvec@{cpvec}}
\index{cpvec@{cpvec}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{cpvec}]{\setlength{\rightskip}{0pt plus 5cm}void cpvec (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a40c67b35991c8d43cf1a01b076a43349}


Definition at line 258 of file matrix\-\_\-ops.\-c.



Referenced by power\-\_\-iteration().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!dot@{dot}}
\index{dot@{dot}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{dot}]{\setlength{\rightskip}{0pt plus 5cm}double dot (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a0fb115f00ec25be38df7d8f26ba17cb9}


Definition at line 270 of file matrix\-\_\-ops.\-c.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!init\-\_\-vec\-\_\-orth1@{init\-\_\-vec\-\_\-orth1}}
\index{init\-\_\-vec\-\_\-orth1@{init\-\_\-vec\-\_\-orth1}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{init\-\_\-vec\-\_\-orth1}]{\setlength{\rightskip}{0pt plus 5cm}void init\-\_\-vec\-\_\-orth1 (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a2e46bc369b5702689a0107906a95188a}


Definition at line 341 of file matrix\-\_\-ops.\-c.



References orthog1(), and R\-A\-N\-G\-E.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!invert\-\_\-sqrt\-\_\-vec@{invert\-\_\-sqrt\-\_\-vec}}
\index{invert\-\_\-sqrt\-\_\-vec@{invert\-\_\-sqrt\-\_\-vec}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{invert\-\_\-sqrt\-\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}void invert\-\_\-sqrt\-\_\-vec (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a4d4d2ef7cdb2556daa3310eab81232ba}


Definition at line 752 of file matrix\-\_\-ops.\-c.



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

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!invert\-\_\-vec@{invert\-\_\-vec}}
\index{invert\-\_\-vec@{invert\-\_\-vec}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{invert\-\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}void invert\-\_\-vec (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a3650d654b1eb424f85423ec5e5e98b33}


Definition at line 714 of file matrix\-\_\-ops.\-c.



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

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!max\-\_\-abs@{max\-\_\-abs}}
\index{max\-\_\-abs@{max\-\_\-abs}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{max\-\_\-abs}]{\setlength{\rightskip}{0pt plus 5cm}double max\-\_\-abs (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{vector}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_ad33965f4bcfcdd11a0d547063e2bfb9c}


Definition at line 451 of file matrix\-\_\-ops.\-c.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!max\-\_\-absf@{max\-\_\-absf}}
\index{max\-\_\-absf@{max\-\_\-absf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{max\-\_\-absf}]{\setlength{\rightskip}{0pt plus 5cm}double max\-\_\-absf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vector}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a530f56196f1cdf62c4634b236b2978e9}


Definition at line 693 of file matrix\-\_\-ops.\-c.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!mult\-\_\-dense\-\_\-mat@{mult\-\_\-dense\-\_\-mat}}
\index{mult\-\_\-dense\-\_\-mat@{mult\-\_\-dense\-\_\-mat}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{mult\-\_\-dense\-\_\-mat}]{\setlength{\rightskip}{0pt plus 5cm}void mult\-\_\-dense\-\_\-mat (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{, }
\item[{float $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{float $\ast$$\ast$$\ast$}]{C}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a7eb8f27f8ff28095319c96f7a0f7feba}


Definition at line 142 of file matrix\-\_\-ops.\-c.



References C, and N\-U\-L\-L.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!mult\-\_\-dense\-\_\-mat\-\_\-d@{mult\-\_\-dense\-\_\-mat\-\_\-d}}
\index{mult\-\_\-dense\-\_\-mat\-\_\-d@{mult\-\_\-dense\-\_\-mat\-\_\-d}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{mult\-\_\-dense\-\_\-mat\-\_\-d}]{\setlength{\rightskip}{0pt plus 5cm}void mult\-\_\-dense\-\_\-mat\-\_\-d (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{, }
\item[{float $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$$\ast$$\ast$}]{C\-C}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a6978ab29eb196ec33d502ddc1bcb6e89}


Definition at line 178 of file matrix\-\_\-ops.\-c.



References C, and N\-U\-L\-L.



Referenced by iterative\-P\-C\-A\-\_\-1\-D().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose@{mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose}}
\index{mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose@{mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose}]{\setlength{\rightskip}{0pt plus 5cm}void mult\-\_\-sparse\-\_\-dense\-\_\-mat\-\_\-transpose (
\begin{DoxyParamCaption}
\item[{{\bf vtx\-\_\-data} $\ast$}]{, }
\item[{double $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{float $\ast$$\ast$$\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a897e75936e8ff446cf3ef199215e4745}


Definition at line 214 of file matrix\-\_\-ops.\-c.



References C, vtx\-\_\-data\-::edges, vtx\-\_\-data\-::ewgts, vtx\-\_\-data\-::nedges, and N\-U\-L\-L.



Referenced by iterative\-P\-C\-A\-\_\-1\-D().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!norm@{norm}}
\index{norm@{norm}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{norm}]{\setlength{\rightskip}{0pt plus 5cm}double norm (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_ad91e2bc63531fe1afe89da9cca9fc1ff}


Definition at line 310 of file matrix\-\_\-ops.\-c.



References dot.



Referenced by power\-\_\-iteration().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!orthog1@{orthog1}}
\index{orthog1@{orthog1}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{orthog1}]{\setlength{\rightskip}{0pt plus 5cm}void orthog1 (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a78d61a820b3022f31e177a153e9296cf}


Definition at line 319 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient(), conjugate\-\_\-gradient\-\_\-f(), init\-\_\-vec\-\_\-orth1(), init\-Layout(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!orthog1f@{orthog1f}}
\index{orthog1f@{orthog1f}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{orthog1f}]{\setlength{\rightskip}{0pt plus 5cm}void orthog1f (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a15fc6269208120901409b7f33580d4e2}


Definition at line 544 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!power\-\_\-iteration@{power\-\_\-iteration}}
\index{power\-\_\-iteration@{power\-\_\-iteration}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{power\-\_\-iteration}]{\setlength{\rightskip}{0pt plus 5cm}{\bf int} power\-\_\-iteration (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$$\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a3048dae6c432e8b36769254934e78882}


Definition at line 24 of file matrix\-\_\-ops.\-c.



References alpha, cpvec(), dot, N\-\_\-\-G\-N\-E\-W, norm(), right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d(), scadd(), and vecscale().



Referenced by iterative\-P\-C\-A\-\_\-1\-D(), and P\-C\-A\-\_\-alloc().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!right\-\_\-mult\-\_\-with\-\_\-vector@{right\-\_\-mult\-\_\-with\-\_\-vector}}
\index{right\-\_\-mult\-\_\-with\-\_\-vector@{right\-\_\-mult\-\_\-with\-\_\-vector}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{right\-\_\-mult\-\_\-with\-\_\-vector}]{\setlength{\rightskip}{0pt plus 5cm}void right\-\_\-mult\-\_\-with\-\_\-vector (
\begin{DoxyParamCaption}
\item[{{\bf vtx\-\_\-data} $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a014dee186c0dbeb8c6ed32cb19bab809}


Definition at line 354 of file matrix\-\_\-ops.\-c.



References vtx\-\_\-data\-::nedges.



Referenced by conjugate\-\_\-gradient().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d}}
\index{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d}]{\setlength{\rightskip}{0pt plus 5cm}void right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-d (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a34c558c4975748728bac6eaf53f6a170}


Definition at line 521 of file matrix\-\_\-ops.\-c.



Referenced by power\-\_\-iteration().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f}}
\index{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f}]{\setlength{\rightskip}{0pt plus 5cm}void right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-f (
\begin{DoxyParamCaption}
\item[{float $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a1b7b2200690ba9efbcc99e682c101fb9}


Definition at line 371 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-f().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff}}
\index{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff}]{\setlength{\rightskip}{0pt plus 5cm}void right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-ff (
\begin{DoxyParamCaption}
\item[{float $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{float $\ast$}]{, }
\item[{float $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_ac4ca01b47c49c72839a0843084371b9d}


Definition at line 594 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose}}
\index{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose@{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose}]{\setlength{\rightskip}{0pt plus 5cm}void right\-\_\-mult\-\_\-with\-\_\-vector\-\_\-transpose (
\begin{DoxyParamCaption}
\item[{double $\ast$$\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a582fdb405e08d454af3ec5aaba39b1be}


Definition at line 503 of file matrix\-\_\-ops.\-c.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!scadd@{scadd}}
\index{scadd@{scadd}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{scadd}]{\setlength{\rightskip}{0pt plus 5cm}void scadd (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a278ccd0d6f87e91460152930d738b40a}


Definition at line 286 of file matrix\-\_\-ops.\-c.



Referenced by power\-\_\-iteration().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!set\-\_\-vector\-\_\-val@{set\-\_\-vector\-\_\-val}}
\index{set\-\_\-vector\-\_\-val@{set\-\_\-vector\-\_\-val}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{set\-\_\-vector\-\_\-val}]{\setlength{\rightskip}{0pt plus 5cm}void set\-\_\-vector\-\_\-val (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{double}]{val, }
\item[{double $\ast$}]{result}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a92b0f7939a3406e5382781b1c00c6c50}


Definition at line 677 of file matrix\-\_\-ops.\-c.

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!set\-\_\-vector\-\_\-valf@{set\-\_\-vector\-\_\-valf}}
\index{set\-\_\-vector\-\_\-valf@{set\-\_\-vector\-\_\-valf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{set\-\_\-vector\-\_\-valf}]{\setlength{\rightskip}{0pt plus 5cm}void set\-\_\-vector\-\_\-valf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float}]{val, }
\item[{float $\ast$}]{result}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a6e791448b8baac10b811e6b609a9f7f8}


Definition at line 685 of file matrix\-\_\-ops.\-c.



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

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!sqrt\-\_\-vec@{sqrt\-\_\-vec}}
\index{sqrt\-\_\-vec@{sqrt\-\_\-vec}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{sqrt\-\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}void sqrt\-\_\-vec (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a35f2352aae7ae1637be027c23344fcb3}


Definition at line 725 of file matrix\-\_\-ops.\-c.



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

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!sqrt\-\_\-vecf@{sqrt\-\_\-vecf}}
\index{sqrt\-\_\-vecf@{sqrt\-\_\-vecf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{sqrt\-\_\-vecf}]{\setlength{\rightskip}{0pt plus 5cm}void sqrt\-\_\-vecf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{source, }
\item[{float $\ast$}]{target}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a91a6ada6f02ecd4a9faadf6c15f881b4}


Definition at line 737 of file matrix\-\_\-ops.\-c.



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

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!square\-\_\-vec@{square\-\_\-vec}}
\index{square\-\_\-vec@{square\-\_\-vec}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{square\-\_\-vec}]{\setlength{\rightskip}{0pt plus 5cm}void square\-\_\-vec (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vec}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_ace389347d326689dcd8926edf752a2c6}


Definition at line 705 of file matrix\-\_\-ops.\-c.



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

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vecscale@{vecscale}}
\index{vecscale@{vecscale}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vecscale}]{\setlength{\rightskip}{0pt plus 5cm}void vecscale (
\begin{DoxyParamCaption}
\item[{double $\ast$}]{, }
\item[{{\bf int}}]{, }
\item[{{\bf int}}]{, }
\item[{double}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a7086452c2e734265c53627b144dc45fd}


Definition at line 298 of file matrix\-\_\-ops.\-c.



Referenced by power\-\_\-iteration().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-addition@{vectors\-\_\-addition}}
\index{vectors\-\_\-addition@{vectors\-\_\-addition}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-addition}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-addition (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a8c89112c822439576d0532776e45cd69}


Definition at line 399 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient(), and conjugate\-\_\-gradient\-\_\-f().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-additionf@{vectors\-\_\-additionf}}
\index{vectors\-\_\-additionf@{vectors\-\_\-additionf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-additionf}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-additionf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vector1, }
\item[{float $\ast$}]{vector2, }
\item[{float $\ast$}]{result}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a5f6f7730e30a5443b1d05045c4d0da3b}


Definition at line 629 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-inner\-\_\-product@{vectors\-\_\-inner\-\_\-product}}
\index{vectors\-\_\-inner\-\_\-product@{vectors\-\_\-inner\-\_\-product}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-inner\-\_\-product}]{\setlength{\rightskip}{0pt plus 5cm}double vectors\-\_\-inner\-\_\-product (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{double $\ast$}]{vector1, }
\item[{double $\ast$}]{vector2}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_ad40d4c5c1872f03f9d356c0a598ae249}


Definition at line 439 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient(), and conjugate\-\_\-gradient\-\_\-f().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-inner\-\_\-productf@{vectors\-\_\-inner\-\_\-productf}}
\index{vectors\-\_\-inner\-\_\-productf@{vectors\-\_\-inner\-\_\-productf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-inner\-\_\-productf}]{\setlength{\rightskip}{0pt plus 5cm}double vectors\-\_\-inner\-\_\-productf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vector1, }
\item[{float $\ast$}]{vector2}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_afff1d611dbfcd4b49c93b0301a0694bb}


Definition at line 665 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-mult\-\_\-additionf@{vectors\-\_\-mult\-\_\-additionf}}
\index{vectors\-\_\-mult\-\_\-additionf@{vectors\-\_\-mult\-\_\-additionf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-mult\-\_\-additionf}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-mult\-\_\-additionf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vector1, }
\item[{float}]{alpha, }
\item[{float $\ast$}]{vector2}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_ac607e09c541122101a13a4b3abb1256d}


Definition at line 639 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel(), and stress\-\_\-majorization\-\_\-k\-D\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-scalar\-\_\-mult@{vectors\-\_\-scalar\-\_\-mult}}
\index{vectors\-\_\-scalar\-\_\-mult@{vectors\-\_\-scalar\-\_\-mult}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-scalar\-\_\-mult}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-scalar\-\_\-mult (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a52037de81ba684c9beed0e95bed0b653}


Definition at line 422 of file matrix\-\_\-ops.\-c.



References alpha.



Referenced by conjugate\-\_\-gradient(), and conjugate\-\_\-gradient\-\_\-f().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-scalar\-\_\-multf@{vectors\-\_\-scalar\-\_\-multf}}
\index{vectors\-\_\-scalar\-\_\-multf@{vectors\-\_\-scalar\-\_\-multf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-scalar\-\_\-multf}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-scalar\-\_\-multf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{n, }
\item[{float $\ast$}]{vector, }
\item[{float}]{alpha, }
\item[{float $\ast$}]{result}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_a404dfb2cfc9c114c6c6a3d89bec5d756}


Definition at line 648 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-substractionf@{vectors\-\_\-substractionf}}
\index{vectors\-\_\-substractionf@{vectors\-\_\-substractionf}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-substractionf}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-substractionf (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{, }
\item[{float $\ast$}]{, }
\item[{float $\ast$}]{, }
\item[{float $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_af88be21e036b8a42e6c820ec7177b146}


Definition at line 619 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient\-\_\-mkernel().

\index{matrix\-\_\-ops.\-h@{matrix\-\_\-ops.\-h}!vectors\-\_\-subtraction@{vectors\-\_\-subtraction}}
\index{vectors\-\_\-subtraction@{vectors\-\_\-subtraction}!matrix_ops.h@{matrix\-\_\-ops.\-h}}
\subsubsection[{vectors\-\_\-subtraction}]{\setlength{\rightskip}{0pt plus 5cm}void vectors\-\_\-subtraction (
\begin{DoxyParamCaption}
\item[{{\bf int}}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{, }
\item[{double $\ast$}]{}
\end{DoxyParamCaption}
)}\label{matrix__ops_8h_aa933f6d239652e76f64065ad9ee19455}


Definition at line 388 of file matrix\-\_\-ops.\-c.



Referenced by conjugate\-\_\-gradient(), and conjugate\-\_\-gradient\-\_\-f().

