\section{matrix.h File Reference}
\label{matrix_h}\index{matrix.h@{matrix.h}}
{\tt \#include $<$iostream.h$>$}\par
{\tt \#include $<$iomanip.h$>$}\par
{\tt \#include "utils.h"}\par
{\tt \#include "signal.h"}\par
{\tt \#include "../error\_\-handler.h"}\par


Include dependency graph for matrix.h:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=171pt]{matrix_h_incl}
\end{center}
\end{figure}


This graph shows which files directly or indirectly include this file:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=368pt]{matrix_h_dep_incl}
\end{center}
\end{figure}
\subsection*{Compounds}
\begin{CompactItemize}
\item 
class {\bf Matrix}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
{\bf Matrix} {\bf operator $\ast$} (double d, const {\bf Matrix} \&m)
\item 
ostream\& {\bf operator$<$$<$} (ostream \&os, const {\bf Matrix} \&m)
\end{CompactItemize}


\subsection{Function Documentation}
\index{matrix.h@{matrix.h}!operator *@{operator $\ast$}}
\index{operator *@{operator $\ast$}!matrix.h@{matrix.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}{\bf Matrix} operator $\ast$ (double {\em d}, const {\bf Matrix} \& {\em m})}\label{matrix_h_a0}




Definition at line 407 of file matrix.C.\footnotesize\begin{verbatim}00407                                             {
00408   int rows = m.getRows(), cols = m.getCols();
00409   Matrix result(rows,cols);
00410   for (int row = 1; row <= rows; row++)
00411     for (int col = 1; col <= cols; col++)
00412       result(row,col) = d * m(row,col);
00413   return result;
00414 \end{verbatim}\normalsize 
\index{matrix.h@{matrix.h}!operator<<@{operator$<$$<$}}
\index{operator<<@{operator$<$$<$}!matrix.h@{matrix.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}ostream \& operator$<$$<$ (ostream \& {\em os}, const {\bf Matrix} \& {\em m})\hspace{0.3cm}{\tt  [inline]}}\label{matrix_h_a1}




Definition at line 94 of file matrix.h.\footnotesize\begin{verbatim}00094                                                          {
00095   for (int row = 1; row <= m.getRows(); row++) {
00096     os << "[ ";
00097     for (int col = 1; col <= m.getCols(); col++)
00098         os << m(row,col) << " ";
00099     os << "]" << endl;
00100   }
00101 \end{verbatim}\normalsize 
