\doxysection{gko::\+matrix::\+Csr\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>}::\+scale\+\_\+add\+\_\+reuse\+\_\+info Class Reference}
\hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info}{}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info}\index{gko::matrix::Csr$<$ ValueType, IndexType $>$::scale\_add\_reuse\_info@{gko::matrix::Csr$<$ ValueType, IndexType $>$::scale\_add\_reuse\_info}}


Class describing the internal lookup structures created by scale\+\_\+add\+\_\+reuse to recompute a sparse matrix-\/matrix sum with updated values.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+matrix/\+csr.\+hpp$>$}

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_ad40654d54ebce50cf869ecd79a3b1b41}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_ad40654d54ebce50cf869ecd79a3b1b41} 
{\bfseries scale\+\_\+add\+\_\+reuse\+\_\+info} (const scale\+\_\+add\+\_\+reuse\+\_\+info \&)=delete
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_ae813301af0f47231e3b0bc3281838e9b}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_ae813301af0f47231e3b0bc3281838e9b} 
{\bfseries scale\+\_\+add\+\_\+reuse\+\_\+info} (scale\+\_\+add\+\_\+reuse\+\_\+info \&\&) noexcept
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_a68acaf098c8a97a6ae1598a8fe4492ad}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_a68acaf098c8a97a6ae1598a8fe4492ad} 
scale\+\_\+add\+\_\+reuse\+\_\+info \& {\bfseries operator=} (const scale\+\_\+add\+\_\+reuse\+\_\+info \&)=delete
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_a3a31199ce5b6f50e45a0d6b680626b80}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_a3a31199ce5b6f50e45a0d6b680626b80} 
scale\+\_\+add\+\_\+reuse\+\_\+info \& {\bfseries operator=} (scale\+\_\+add\+\_\+reuse\+\_\+info \&\&) noexcept
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_a966159aa1adb984d1b274e30a022a17c}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_a966159aa1adb984d1b274e30a022a17c} 
void {\bfseries update\+\_\+values} (\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense}{Dense}}$<$ value\+\_\+type $>$ $>$ scale1, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const Csr $>$ mtx1, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense}{Dense}}$<$ value\+\_\+type $>$ $>$ scale2, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const Csr $>$ mtx2, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ Csr $>$ out) const
\begin{DoxyCompactList}\small\item\em Recomputes the sparse matrix-\/matrix sum {\ttfamily out = scale1 \texorpdfstring{$\ast$}{*} mtx1 + scale2 \texorpdfstring{$\ast$}{*} mtx2} when only the values of mtx1, scale1, mtx2, scale2 changed, but the sparsity patterns of mtx1, mtx2 and out are unchanged. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_aae7720a5267e234446b4cb4ce0accfb1}\label{classgko_1_1matrix_1_1Csr_1_1scale__add__reuse__info_aae7720a5267e234446b4cb4ce0accfb1} 
class {\bfseries Csr}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$\newline
class gko::\+matrix::\+\+Csr$<$ Value\+Type, Index\+Type $>$::\+scale\+\_\+add\+\_\+reuse\+\_\+info}
Class describing the internal lookup structures created by scale\+\_\+add\+\_\+reuse to recompute a sparse matrix-\/matrix sum with updated values. 

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