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


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




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

\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_a2b51cdf96c2c08518cd32472f9c432df}\label{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_a2b51cdf96c2c08518cd32472f9c432df} 
{\bfseries multiply\+\_\+add\+\_\+reuse\+\_\+info} (const multiply\+\_\+add\+\_\+reuse\+\_\+info \&)=delete
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_a19aa5d37b31b618a36877596e5a41328}\label{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_a19aa5d37b31b618a36877596e5a41328} 
{\bfseries multiply\+\_\+add\+\_\+reuse\+\_\+info} (multiply\+\_\+add\+\_\+reuse\+\_\+info \&\&) noexcept
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_acae744235fcdae9ac59fa68d3877cdf2}\label{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_acae744235fcdae9ac59fa68d3877cdf2} 
multiply\+\_\+add\+\_\+reuse\+\_\+info \& {\bfseries operator=} (const multiply\+\_\+add\+\_\+reuse\+\_\+info \&)=delete
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_afbcb818273145a1eb75f2ed36e12662b}\label{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_afbcb818273145a1eb75f2ed36e12662b} 
multiply\+\_\+add\+\_\+reuse\+\_\+info \& {\bfseries operator=} (multiply\+\_\+add\+\_\+reuse\+\_\+info \&\&) noexcept
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_a97921c3b4c3005a51e5a3fc91978f6c2}\label{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_a97921c3b4c3005a51e5a3fc91978f6c2} 
void {\bfseries update\+\_\+values} (\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const Csr $>$ mtx, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense}{Dense}}$<$ value\+\_\+type $>$ $>$ scale\+\_\+mult, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const Csr $>$ mtx\+\_\+mult, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense}{Dense}}$<$ value\+\_\+type $>$ $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr_a4a9bcad293b828a49dac453195abd212}{scale\+\_\+add}}, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const Csr $>$ mtx\+\_\+add, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ Csr $>$ out) const
\begin{DoxyCompactList}\small\item\em Recomputes the sparse matrix-\/matrix product {\ttfamily out = scale\+\_\+mult \texorpdfstring{$\ast$}{*} mtx \texorpdfstring{$\ast$}{*} mtx\+\_\+mult + \doxylink{classgko_1_1matrix_1_1Csr_a4a9bcad293b828a49dac453195abd212}{scale\+\_\+add} \texorpdfstring{$\ast$}{*} mtx\+\_\+add} when only the values of mtx, scale\+\_\+mult, mtx\+\_\+mult, scale\+\_\+add, mtx\+\_\+add changed, but the sparsity patterns of mtx, mtx\+\_\+mult, mtx\+\_\+add and out are unchanged. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Csr_1_1multiply__add__reuse__info_aae7720a5267e234446b4cb4ce0accfb1}\label{classgko_1_1matrix_1_1Csr_1_1multiply__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 $>$::\+multiply\+\_\+add\+\_\+reuse\+\_\+info}
Class describing the internal lookup structures created by multiply\+\_\+add\+\_\+reuse to recompute a sparse matrix-\/matrix product with updated values. 

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