\section{J\-A\-M\-M\-A\-:\-:Eigenvalue Class Reference}
\label{classJAMMA_1_1Eigenvalue}\index{J\-A\-M\-M\-A\-::\-Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\bf Eigenvalue} (float A[3][3])
\begin{DoxyCompactList}\small\item\em Check for symmetry, then construct the eigenvalue decomposition. \end{DoxyCompactList}\item 
void {\bf get\-V} (float V\-\_\-[3][3])
\begin{DoxyCompactList}\small\item\em Return the eigenvector matrix. \end{DoxyCompactList}\item 
void {\bf get\-Real\-Eigenvalues} (float d\-\_\-[3])
\begin{DoxyCompactList}\small\item\em Return the real parts of the eigenvalues. \end{DoxyCompactList}\item 
void {\bf get\-Imag\-Eigenvalues} (float e\-\_\-[3])
\begin{DoxyCompactList}\small\item\em Return the imaginary parts of the eigenvalues in parameter e\-\_\-. \end{DoxyCompactList}\item 
void {\bf get\-D} (float D[3][3])
\begin{DoxyCompactList}\small\item\em Computes the block diagonal eigenvalue matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Constructor \& Destructor Documentation}
\index{J\-A\-M\-M\-A\-::\-Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}!Eigenvalue@{Eigenvalue}}
\index{Eigenvalue@{Eigenvalue}!JAMMA::Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}}
\subsubsection[{Eigenvalue}]{\setlength{\rightskip}{0pt plus 5cm}J\-A\-M\-M\-A\-::\-Eigenvalue\-::\-Eigenvalue (
\begin{DoxyParamCaption}
\item[{float}]{A[3][3]}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classJAMMA_1_1Eigenvalue_aa7080b0981453567f2570ec14356107e}


Check for symmetry, then construct the eigenvalue decomposition. 


\begin{DoxyParams}{Parameters}
{\em A} & Square real (non-\/complex) matrix \\
\hline
\end{DoxyParams}


\subsection{Member Function Documentation}
\index{J\-A\-M\-M\-A\-::\-Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}!get\-D@{get\-D}}
\index{get\-D@{get\-D}!JAMMA::Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}}
\subsubsection[{get\-D}]{\setlength{\rightskip}{0pt plus 5cm}void J\-A\-M\-M\-A\-::\-Eigenvalue\-::get\-D (
\begin{DoxyParamCaption}
\item[{float}]{D[3][3]}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classJAMMA_1_1Eigenvalue_a41352db14cd4ce06e78c4087dd0ec47a}


Computes the block diagonal eigenvalue matrix. 

If the original matrix A is not symmetric, then the eigenvalue matrix D is block diagonal with the real eigenvalues in 1-\/by-\/1 blocks and any complex eigenvalues, a + i$\ast$b, in 2-\/by-\/2 blocks, [a, b; -\/b, a]. That is, if the complex eigenvalues look like 
\begin{DoxyPre}\end{DoxyPre}



\begin{DoxyPre}          u + iv     .        .          .      .    .
            .      u - iv     .          .      .    .
            .        .      a + ib       .      .    .
            .        .        .        a - ib   .    .
            .        .        .          .      x    .
            .        .        .          .      .    y
\end{DoxyPre}
 then D looks like 
\begin{DoxyPre}\end{DoxyPre}



\begin{DoxyPre}            u        v        .          .      .    .
           -v        u        .          .      .    . 
            .        .        a          b      .    .
            .        .       -b          a      .    .
            .        .        .          .      x    .
            .        .        .          .      .    y
\end{DoxyPre}
 This keeps V a real matrix in both symmetric and non-\/symmetric cases, and A$\ast$\-V = V$\ast$\-D. \begin{DoxyVerb}@param D: upon return, the matrix is filled with the block diagonal 
eigenvalue matrix.\end{DoxyVerb}
 \index{J\-A\-M\-M\-A\-::\-Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}!get\-Imag\-Eigenvalues@{get\-Imag\-Eigenvalues}}
\index{get\-Imag\-Eigenvalues@{get\-Imag\-Eigenvalues}!JAMMA::Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}}
\subsubsection[{get\-Imag\-Eigenvalues}]{\setlength{\rightskip}{0pt plus 5cm}void J\-A\-M\-M\-A\-::\-Eigenvalue\-::get\-Imag\-Eigenvalues (
\begin{DoxyParamCaption}
\item[{float}]{e\-\_\-[3]}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classJAMMA_1_1Eigenvalue_a2256480c2ecaddbeed072b000dc5b60d}


Return the imaginary parts of the eigenvalues in parameter e\-\_\-. 

e\-\_\-\-: new matrix with imaginary parts of the eigenvalues. \index{J\-A\-M\-M\-A\-::\-Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}!get\-Real\-Eigenvalues@{get\-Real\-Eigenvalues}}
\index{get\-Real\-Eigenvalues@{get\-Real\-Eigenvalues}!JAMMA::Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}}
\subsubsection[{get\-Real\-Eigenvalues}]{\setlength{\rightskip}{0pt plus 5cm}void J\-A\-M\-M\-A\-::\-Eigenvalue\-::get\-Real\-Eigenvalues (
\begin{DoxyParamCaption}
\item[{float}]{d\-\_\-[3]}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classJAMMA_1_1Eigenvalue_a061b1fb819049bf73e254c48fd3b7cf7}


Return the real parts of the eigenvalues. 

\begin{DoxyReturn}{Returns}
real(diag(\-D)) 
\end{DoxyReturn}
\index{J\-A\-M\-M\-A\-::\-Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}!get\-V@{get\-V}}
\index{get\-V@{get\-V}!JAMMA::Eigenvalue@{J\-A\-M\-M\-A\-::\-Eigenvalue}}
\subsubsection[{get\-V}]{\setlength{\rightskip}{0pt plus 5cm}void J\-A\-M\-M\-A\-::\-Eigenvalue\-::get\-V (
\begin{DoxyParamCaption}
\item[{float}]{V\-\_\-[3][3]}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}}\label{classJAMMA_1_1Eigenvalue_a4b78dd086ff82789750cb0fad06cb192}


Return the eigenvector matrix. 

\begin{DoxyReturn}{Returns}
V 
\end{DoxyReturn}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
jama\-\_\-eig.\-h\end{DoxyCompactItemize}
