\doxysection{gko::\+Dimension\+Mismatch Class Reference}
\hypertarget{classgko_1_1DimensionMismatch}{}\label{classgko_1_1DimensionMismatch}\index{gko::DimensionMismatch@{gko::DimensionMismatch}}


\doxylink{classgko_1_1DimensionMismatch}{Dimension\+Mismatch} is thrown if an operation is being applied to Lin\+Ops of incompatible size.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+exception.\+hpp$>$}



Inheritance diagram for gko::\+Dimension\+Mismatch:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=206pt]{classgko_1_1DimensionMismatch__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for gko::\+Dimension\+Mismatch:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=206pt]{classgko_1_1DimensionMismatch__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\doxymbox{\hyperlink{classgko_1_1DimensionMismatch_ae9ece719cbd41a39835655ba3e70aa47}{Dimension\+Mismatch}} (const std::\+string \&file, int line, const std::\+string \&func, const std::\+string \&first\+\_\+name, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} first\+\_\+rows, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} first\+\_\+cols, const std::\+string \&second\+\_\+name, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} second\+\_\+rows, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} second\+\_\+cols, const std::\+string \&clarification)
\begin{DoxyCompactList}\small\item\em Initializes a dimension mismatch error. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1Error}{gko::\+\+Error}}}
\begin{DoxyCompactItemize}
\item 
\doxymbox{\hyperlink{classgko_1_1Error_a750493241a840d96cafbf9c84cfd4f52}{Error}} (const std::\+string \&file, int line, const std::\+string \&\doxymbox{\hyperlink{classgko_1_1Error_aec78ba67d5d7bf123d20afbe086977d0}{what}})
\begin{DoxyCompactList}\small\item\em Initializes an error. \end{DoxyCompactList}\item 
virtual const char \texorpdfstring{$\ast$}{*} {\bfseries what} () const noexcept override
\begin{DoxyCompactList}\small\item\em Returns a human-\/readable string with a more detailed description of the error. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\doxylink{classgko_1_1DimensionMismatch}{Dimension\+Mismatch} is thrown if an operation is being applied to Lin\+Ops of incompatible size. 

\label{doc-constructors}
\Hypertarget{classgko_1_1DimensionMismatch_doc-constructors}
\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classgko_1_1DimensionMismatch_ae9ece719cbd41a39835655ba3e70aa47}\index{gko::DimensionMismatch@{gko::DimensionMismatch}!DimensionMismatch@{DimensionMismatch}}
\index{DimensionMismatch@{DimensionMismatch}!gko::DimensionMismatch@{gko::DimensionMismatch}}
\doxysubsubsection{\texorpdfstring{DimensionMismatch()}{DimensionMismatch()}}
{\footnotesize\ttfamily \label{classgko_1_1DimensionMismatch_ae9ece719cbd41a39835655ba3e70aa47} 
gko::\+\+Dimension\+Mismatch::\+\+Dimension\+Mismatch (\begin{DoxyParamCaption}\item[{const std::\+string \&}]{file}{, }\item[{int}]{line}{, }\item[{const std::\+string \&}]{func}{, }\item[{const std::\+string \&}]{first\+\_\+name}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{first\+\_\+rows}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{first\+\_\+cols}{, }\item[{const std::\+string \&}]{second\+\_\+name}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{second\+\_\+rows}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{second\+\_\+cols}{, }\item[{const std::\+string \&}]{clarification}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Initializes a dimension mismatch error. 


\begin{DoxyParams}{Parameters}
{\em file} & The name of the offending source file \\
\hline
{\em line} & The source code line number where the error occurred \\
\hline
{\em func} & The function name where the error occurred \\
\hline
{\em first\+\_\+name} & The name of the first operator \\
\hline
{\em first\+\_\+rows} & The output dimension of the first operator \\
\hline
{\em first\+\_\+cols} & The input dimension of the first operator \\
\hline
{\em second\+\_\+name} & The name of the second operator \\
\hline
{\em second\+\_\+rows} & The output dimension of the second operator \\
\hline
{\em second\+\_\+cols} & The input dimension of the second operator \\
\hline
{\em clarification} & An additional message describing the error further \\
\hline
\end{DoxyParams}


References \doxymbox{\hyperlink{classgko_1_1Error_a750493241a840d96cafbf9c84cfd4f52}{gko::\+\+Error::\+\+Error()}}.



The documentation for this class was generated from the following file:\+\begin{DoxyCompactItemize}
\item 
ginkgo/\+core/\+base/\+exception.\+hpp\end{DoxyCompactItemize}
