\doxysection{gko::\+matrix::\+Csr\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>}::\+permuting\+\_\+reuse\+\_\+info Struct Reference}
\hypertarget{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info}{}\label{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info}\index{gko::matrix::Csr$<$ ValueType, IndexType $>$::permuting\_reuse\_info@{gko::matrix::Csr$<$ ValueType, IndexType $>$::permuting\_reuse\_info}}


A struct describing a transformation of the matrix that reorders the values of the matrix into the transformed matrix.  




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



Collaboration diagram for gko::\+matrix::\+Csr\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>}::\+permuting\+\_\+reuse\+\_\+info:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=271pt]{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a19877f63bd773670f0aaef509257c1e6}\label{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a19877f63bd773670f0aaef509257c1e6} 
{\bfseries permuting\+\_\+reuse\+\_\+info} ()
\begin{DoxyCompactList}\small\item\em Creates an empty reuse info. \end{DoxyCompactList}\item 
\Hypertarget{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a972c4d156633e85d215e6a3c629df068}\label{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a972c4d156633e85d215e6a3c629df068} 
{\bfseries permuting\+\_\+reuse\+\_\+info} (std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Permutation}{Permutation}}$<$ index\+\_\+type $>$ $>$ value\+\_\+permutation)
\begin{DoxyCompactList}\small\item\em Creates a reuse info structure from its value permutation. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a335568a4da6c11cff5dc7adbd347b4ce}{update\+\_\+values}} (\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr_a9094bdf34a8c56f115252f0fe5a7f5ae}{Csr}} $>$ input, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr_a9094bdf34a8c56f115252f0fe5a7f5ae}{Csr}} $>$ output) const
\begin{DoxyCompactList}\small\item\em Propagates the values from an input matrix to the transformed matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Public Attributes}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a1827e1b411feed3305b7e3002fdbe672}\label{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a1827e1b411feed3305b7e3002fdbe672} 
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Permutation}{Permutation}}$<$ Index\+Type $>$ $>$ {\bfseries value\+\_\+permutation}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$\newline
struct gko::\+matrix::\+\+Csr$<$ Value\+Type, Index\+Type $>$::\+permuting\+\_\+reuse\+\_\+info}
A struct describing a transformation of the matrix that reorders the values of the matrix into the transformed matrix. 

\label{doc-func-members}
\Hypertarget{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a335568a4da6c11cff5dc7adbd347b4ce}\index{gko::matrix::Csr$<$ ValueType, IndexType $>$::permuting\_reuse\_info@{gko::matrix::Csr$<$ ValueType, IndexType $>$::permuting\_reuse\_info}!update\_values@{update\_values}}
\index{update\_values@{update\_values}!gko::matrix::Csr$<$ ValueType, IndexType $>$::permuting\_reuse\_info@{gko::matrix::Csr$<$ ValueType, IndexType $>$::permuting\_reuse\_info}}
\doxysubsubsection{\texorpdfstring{update\_values()}{update\_values()}}
{\footnotesize\ttfamily \label{structgko_1_1matrix_1_1Csr_1_1permuting__reuse__info_a335568a4da6c11cff5dc7adbd347b4ce} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
void \doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr}{gko::\+matrix::\+\+Csr}}$<$ Value\+Type, Index\+Type $>$::\+permuting\+\_\+reuse\+\_\+info::\+update\+\_\+values (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr_a9094bdf34a8c56f115252f0fe5a7f5ae}{Csr}} $>$}]{input}{, }\item[{\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr_a9094bdf34a8c56f115252f0fe5a7f5ae}{Csr}} $>$}]{output}{}\end{DoxyParamCaption}) const}



Propagates the values from an input matrix to the transformed matrix. 

The output matrix needs to have been computed using the transformation that was also used to generate this reuse data. Internally, this permutes the input value vector into the output value vector. 

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