\doxysection{gko::\+Scaled\+Identity\+Addable Class Reference}
\hypertarget{classgko_1_1ScaledIdentityAddable}{}\label{classgko_1_1ScaledIdentityAddable}\index{gko::ScaledIdentityAddable@{gko::ScaledIdentityAddable}}


Adds the operation M \texorpdfstring{$<$}{<}-\/ a I + b M for matrix M, identity operator I and scalars a and b, where M is the calling object.  




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



Inheritance diagram for gko::\+Scaled\+Identity\+Addable:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgko_1_1ScaledIdentityAddable__inherit__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
void \doxymbox{\hyperlink{classgko_1_1ScaledIdentityAddable_a43d679d3a9857780f9566bbc61c6b847}{add\+\_\+scaled\+\_\+identity}} (\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ const a, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ const b)
\begin{DoxyCompactList}\small\item\em Scales this and adds another scalar times the identity to it. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
Adds the operation M \texorpdfstring{$<$}{<}-\/ a I + b M for matrix M, identity operator I and scalars a and b, where M is the calling object. 

\label{doc-func-members}
\Hypertarget{classgko_1_1ScaledIdentityAddable_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1ScaledIdentityAddable_a43d679d3a9857780f9566bbc61c6b847}\index{gko::ScaledIdentityAddable@{gko::ScaledIdentityAddable}!add\_scaled\_identity@{add\_scaled\_identity}}
\index{add\_scaled\_identity@{add\_scaled\_identity}!gko::ScaledIdentityAddable@{gko::ScaledIdentityAddable}}
\doxysubsubsection{\texorpdfstring{add\_scaled\_identity()}{add\_scaled\_identity()}}
{\footnotesize\ttfamily \label{classgko_1_1ScaledIdentityAddable_a43d679d3a9857780f9566bbc61c6b847} 
void gko::\+\+Scaled\+Identity\+Addable::\+add\+\_\+scaled\+\_\+identity (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ const}]{a}{, }\item[{\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ const}]{b}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}}



Scales this and adds another scalar times the identity to it. 


\begin{DoxyParams}{Parameters}
{\em a} & Scalar to multiply the identity operator before adding. \\
\hline
{\em b} & Scalar to multiply this before adding the scaled identity to it. \\
\hline
\end{DoxyParams}


References \doxymbox{\hyperlink{namespacegko_ae3e355a655feea026a7c46814d37a9c9}{gko::\+as()}}, and \doxymbox{\hyperlink{namespacegko_adf2f8602dc9453752a787b40bbf13fcf}{gko::\+make\+\_\+temporary\+\_\+clone()}}.



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