\hypertarget{class_s_c_i_run_1_1matrix__cast}{\section{matrix\-\_\-cast Class Reference}
\label{class_s_c_i_run_1_1matrix__cast}\index{matrix\-\_\-cast@{matrix\-\_\-cast}}
}


{\ttfamily \#include $<$Matrix\-Type\-Converter.\-h$>$}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
{\footnotesize template$<$class To\-Type $>$ }\\static To\-Type $\ast$ \hyperlink{class_s_c_i_run_1_1matrix__cast_a5e54991d3c6d438d864e33bf4c5983f0}{to} (const \hyperlink{namespace_s_c_i_run_a505ee688e2bc527cae42e6c4ffed0db3}{Matrix\-Handle} \&matrix, typename boost\-::enable\-\_\-if$<$ boost\-::is\-\_\-base\-\_\-of$<$ \hyperlink{class_s_c_i_run_1_1_matrix_base}{Matrix\-Base}, To\-Type $>$ $>$\-::type $\ast$=0)
\item 
static \hyperlink{namespace_s_c_i_run_a246489090fb5fdcb117f8a66a125529e}{Dense\-Matrix} $\ast$ \hyperlink{class_s_c_i_run_1_1matrix__cast_ab10139fdb8c20164c22856e6e2b97a6c}{as\-\_\-dense} (const \hyperlink{namespace_s_c_i_run_a505ee688e2bc527cae42e6c4ffed0db3}{Matrix\-Handle} \&mh)
\item 
static \hyperlink{namespace_s_c_i_run_a7e179b87f3a4a245de48541ba6669219}{Sparse\-Row\-Matrix} $\ast$ \hyperlink{class_s_c_i_run_1_1matrix__cast_a3fa40fcb7812ce7a79fda2629351dd6a}{as\-\_\-sparse} (const \hyperlink{namespace_s_c_i_run_a505ee688e2bc527cae42e6c4ffed0db3}{Matrix\-Handle} \&mh)
\item 
static \hyperlink{namespace_s_c_i_run_a4acde5b54aff9612c1bae594530f03b6}{Column\-Matrix} $\ast$ \hyperlink{class_s_c_i_run_1_1matrix__cast_ac283bd259b98267d46f4ffc8f8bd4f95}{as\-\_\-column} (const \hyperlink{namespace_s_c_i_run_a505ee688e2bc527cae42e6c4ffed0db3}{Matrix\-Handle} \&mh)
\item 
static \hyperlink{namespace_s_c_i_run_ae8b08d62782609f30d06993be46ea8ea}{Dense\-Col\-Maj\-Matrix} $\ast$ \hyperlink{class_s_c_i_run_1_1matrix__cast_a075a04b92c5a8e2dcd08086987245365}{as\-\_\-dense\-\_\-col\-\_\-maj} (const \hyperlink{namespace_s_c_i_run_a505ee688e2bc527cae42e6c4ffed0db3}{Matrix\-Handle} \&mh)
\end{DoxyCompactItemize}


\subsection{Member Function Documentation}
\hypertarget{class_s_c_i_run_1_1matrix__cast_ac283bd259b98267d46f4ffc8f8bd4f95}{\index{S\-C\-I\-Run\-::matrix\-\_\-cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}!as\-\_\-column@{as\-\_\-column}}
\index{as\-\_\-column@{as\-\_\-column}!SCIRun::matrix_cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}}
\subsubsection[{as\-\_\-column}]{\setlength{\rightskip}{0pt plus 5cm}Dense\-Column\-Matrix\-Handle as\-\_\-column (
\begin{DoxyParamCaption}
\item[{const {\bf Matrix\-Handle} \&}]{mh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_s_c_i_run_1_1matrix__cast_ac283bd259b98267d46f4ffc8f8bd4f95}
\hypertarget{class_s_c_i_run_1_1matrix__cast_ab10139fdb8c20164c22856e6e2b97a6c}{\index{S\-C\-I\-Run\-::matrix\-\_\-cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}!as\-\_\-dense@{as\-\_\-dense}}
\index{as\-\_\-dense@{as\-\_\-dense}!SCIRun::matrix_cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}}
\subsubsection[{as\-\_\-dense}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Dense\-Matrix\-Handle} as\-\_\-dense (
\begin{DoxyParamCaption}
\item[{const {\bf Matrix\-Handle} \&}]{mh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_s_c_i_run_1_1matrix__cast_ab10139fdb8c20164c22856e6e2b97a6c}
\hypertarget{class_s_c_i_run_1_1matrix__cast_a075a04b92c5a8e2dcd08086987245365}{\index{S\-C\-I\-Run\-::matrix\-\_\-cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}!as\-\_\-dense\-\_\-col\-\_\-maj@{as\-\_\-dense\-\_\-col\-\_\-maj}}
\index{as\-\_\-dense\-\_\-col\-\_\-maj@{as\-\_\-dense\-\_\-col\-\_\-maj}!SCIRun::matrix_cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}}
\subsubsection[{as\-\_\-dense\-\_\-col\-\_\-maj}]{\setlength{\rightskip}{0pt plus 5cm}static {\bf Dense\-Col\-Maj\-Matrix}$\ast$ as\-\_\-dense\-\_\-col\-\_\-maj (
\begin{DoxyParamCaption}
\item[{const {\bf Matrix\-Handle} \&}]{mh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_s_c_i_run_1_1matrix__cast_a075a04b92c5a8e2dcd08086987245365}
\hypertarget{class_s_c_i_run_1_1matrix__cast_a3fa40fcb7812ce7a79fda2629351dd6a}{\index{S\-C\-I\-Run\-::matrix\-\_\-cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}!as\-\_\-sparse@{as\-\_\-sparse}}
\index{as\-\_\-sparse@{as\-\_\-sparse}!SCIRun::matrix_cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}}
\subsubsection[{as\-\_\-sparse}]{\setlength{\rightskip}{0pt plus 5cm}{\bf Sparse\-Row\-Matrix\-Handle} as\-\_\-sparse (
\begin{DoxyParamCaption}
\item[{const {\bf Matrix\-Handle} \&}]{mh}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_s_c_i_run_1_1matrix__cast_a3fa40fcb7812ce7a79fda2629351dd6a}
\hypertarget{class_s_c_i_run_1_1matrix__cast_a5e54991d3c6d438d864e33bf4c5983f0}{\index{S\-C\-I\-Run\-::matrix\-\_\-cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}!to@{to}}
\index{to@{to}!SCIRun::matrix_cast@{S\-C\-I\-Run\-::matrix\-\_\-cast}}
\subsubsection[{to}]{\setlength{\rightskip}{0pt plus 5cm}static To\-Type$\ast$ to (
\begin{DoxyParamCaption}
\item[{const {\bf Matrix\-Handle} \&}]{matrix, }
\item[{typename boost\-::enable\-\_\-if$<$ boost\-::is\-\_\-base\-\_\-of$<$ {\bf Matrix\-Base}, To\-Type $>$ $>$\-::type $\ast$}]{ = {\ttfamily 0}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [static]}}}\label{class_s_c_i_run_1_1matrix__cast_a5e54991d3c6d438d864e33bf4c5983f0}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Core/\-Datatypes/\-Legacy/\-Matrix/\hyperlink{_matrix_type_converter_8h}{Matrix\-Type\-Converter.\-h}\item 
Core/\-Datatypes/\hyperlink{_matrix_type_conversions_8cc}{Matrix\-Type\-Conversions.\-cc}\end{DoxyCompactItemize}
