\doxysection{gko::\+matrix::\+Sellp\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>} Class Template Reference}
\hypertarget{classgko_1_1matrix_1_1Sellp}{}\label{classgko_1_1matrix_1_1Sellp}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}


SELL-\/P is a matrix format similar to ELL format.  




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



Inheritance diagram for gko::\+matrix::\+Sellp\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>}:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgko_1_1matrix_1_1Sellp__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for gko::\+matrix::\+Sellp\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>}:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{classgko_1_1matrix_1_1Sellp__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_ac220b4c6cb098b81164a671e6683e5c0}\label{classgko_1_1matrix_1_1Sellp_ac220b4c6cb098b81164a671e6683e5c0} 
using {\bfseries value\+\_\+type} = Value\+Type
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_af653158fd8d14e9d9dfee7b2a098fefe}\label{classgko_1_1matrix_1_1Sellp_af653158fd8d14e9d9dfee7b2a098fefe} 
using {\bfseries index\+\_\+type} = Index\+Type
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a4a819a93dec5ca81e7e79b805f88d14e}\label{classgko_1_1matrix_1_1Sellp_a4a819a93dec5ca81e7e79b805f88d14e} 
using {\bfseries mat\+\_\+data} = \doxymbox{\hyperlink{structgko_1_1matrix__data}{matrix\+\_\+data}}$<$Value\+Type, Index\+Type$>$
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_ae4ba89eab025297e265f6dec6dc63e32}\label{classgko_1_1matrix_1_1Sellp_ae4ba89eab025297e265f6dec6dc63e32} 
using {\bfseries device\+\_\+mat\+\_\+data} = \doxymbox{\hyperlink{classgko_1_1device__matrix__data}{device\+\_\+matrix\+\_\+data}}$<$Value\+Type, Index\+Type$>$
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_aaf629fc7c464a8a24feb0775fc8f371b}\label{classgko_1_1matrix_1_1Sellp_aaf629fc7c464a8a24feb0775fc8f371b} 
using {\bfseries absolute\+\_\+type} = \doxymbox{\hyperlink{namespacegko_a107302a750bfa82a2107c77293f791c9}{remove\+\_\+complex}}$<$\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}}$>$
\end{DoxyCompactItemize}
\doxysubsection*{Public Types inherited from \doxymbox{\hyperlink{classgko_1_1EnablePolymorphicAssignment}{gko::\+\+Enable\+Polymorphic\+Assignment$<$ Sellp$<$ default\+\_\+precision, int32 $>$ $>$}}}
\begin{DoxyCompactItemize}
\item 
using {\bfseries result\+\_\+type}
\end{DoxyCompactItemize}
\doxysubsection*{Public Types inherited from \doxymbox{\hyperlink{classgko_1_1DiagonalExtractable}{gko::\+\+Diagonal\+Extractable$<$ default\+\_\+precision $>$}}}
\begin{DoxyCompactItemize}
\item 
using {\bfseries value\+\_\+type}
\end{DoxyCompactItemize}
\doxysubsection*{Public Types inherited from \doxymbox{\hyperlink{classgko_1_1ReadableFromMatrixData}{gko::\+\+Readable\+From\+Matrix\+Data$<$ default\+\_\+precision, int32 $>$}}}
\begin{DoxyCompactItemize}
\item 
using {\bfseries value\+\_\+type}
\item 
using {\bfseries index\+\_\+type}
\end{DoxyCompactItemize}
\doxysubsection*{Public Types inherited from \doxymbox{\hyperlink{classgko_1_1WritableToMatrixData}{gko::\+\+Writable\+To\+Matrix\+Data$<$ default\+\_\+precision, int32 $>$}}}
\begin{DoxyCompactItemize}
\item 
using {\bfseries value\+\_\+type}
\item 
using {\bfseries index\+\_\+type}
\end{DoxyCompactItemize}
\doxysubsection*{Public Types inherited from \doxymbox{\hyperlink{classgko_1_1EnableAbsoluteComputation}{gko::\+\+Enable\+Absolute\+Computation$<$ remove\+\_\+complex$<$ Sellp$<$ default\+\_\+precision, int32 $>$ $>$ $>$}}}
\begin{DoxyCompactItemize}
\item 
using {\bfseries absolute\+\_\+type}
\end{DoxyCompactItemize}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_afabe85b676da52337575926e8d4f9842}\label{classgko_1_1matrix_1_1Sellp_afabe85b676da52337575926e8d4f9842} 
void {\bfseries convert\+\_\+to} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}}$<$ \doxymbox{\hyperlink{namespacegko_aee37f85b217e5e26fe64207d41fa4bac}{next\+\_\+precision}}$<$ Value\+Type $>$, Index\+Type $>$ \texorpdfstring{$\ast$}{*}result) const override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a2e80701912319252961502bf3128e051}\label{classgko_1_1matrix_1_1Sellp_a2e80701912319252961502bf3128e051} 
void {\bfseries move\+\_\+to} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}}$<$ \doxymbox{\hyperlink{namespacegko_aee37f85b217e5e26fe64207d41fa4bac}{next\+\_\+precision}}$<$ Value\+Type $>$, Index\+Type $>$ \texorpdfstring{$\ast$}{*}result) override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_ad7540eec38a5f267fc3078ff22ffb4d1}\label{classgko_1_1matrix_1_1Sellp_ad7540eec38a5f267fc3078ff22ffb4d1} 
void {\bfseries convert\+\_\+to} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense}{Dense}}$<$ Value\+Type $>$ \texorpdfstring{$\ast$}{*}other) const override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_aba2fc06a17a24b8b0da36151e25357f3}\label{classgko_1_1matrix_1_1Sellp_aba2fc06a17a24b8b0da36151e25357f3} 
void {\bfseries move\+\_\+to} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Dense}{Dense}}$<$ Value\+Type $>$ \texorpdfstring{$\ast$}{*}other) override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a8c6a8a35f788ad8b5639b5bfaacfd732}\label{classgko_1_1matrix_1_1Sellp_a8c6a8a35f788ad8b5639b5bfaacfd732} 
void {\bfseries convert\+\_\+to} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr}{Csr}}$<$ Value\+Type, Index\+Type $>$ \texorpdfstring{$\ast$}{*}other) const override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a86e1d5bd35f6308577159b5e324cb431}\label{classgko_1_1matrix_1_1Sellp_a86e1d5bd35f6308577159b5e324cb431} 
void {\bfseries move\+\_\+to} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Csr}{Csr}}$<$ Value\+Type, Index\+Type $>$ \texorpdfstring{$\ast$}{*}other) override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a2c5ff4a3f190daf7d70bbd8451d13edd}\label{classgko_1_1matrix_1_1Sellp_a2c5ff4a3f190daf7d70bbd8451d13edd} 
void {\bfseries read} (const mat\+\_\+data \&data) override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a0da340d99171ac7a026fcb23aa45979e}\label{classgko_1_1matrix_1_1Sellp_a0da340d99171ac7a026fcb23aa45979e} 
void {\bfseries read} (const device\+\_\+mat\+\_\+data \&data) override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a2f3d298266d21e40904d4029785fedb6}\label{classgko_1_1matrix_1_1Sellp_a2f3d298266d21e40904d4029785fedb6} 
void {\bfseries read} (device\+\_\+mat\+\_\+data \&\&data) override
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_aae2355a2866318b154d017b1c51f30a5}\label{classgko_1_1matrix_1_1Sellp_aae2355a2866318b154d017b1c51f30a5} 
void {\bfseries write} (mat\+\_\+data \&data) const override
\item 
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Diagonal}{Diagonal}}$<$ Value\+Type $>$ $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_aeeedbc7fb3f2f015b5c58e63adfef43f}{extract\+\_\+diagonal}} () const override
\begin{DoxyCompactList}\small\item\em Extracts the diagonal entries of the matrix into a vector. \end{DoxyCompactList}\item 
std::\+unique\+\_\+ptr$<$ absolute\+\_\+type $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a264e6af0d5ca0c10518c5b7084ee2ed1}{compute\+\_\+absolute}} () const override
\begin{DoxyCompactList}\small\item\em Gets the Absolute\+Lin\+Op. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a7d25d89713713f96fa7d3efe436d7f6e}{compute\+\_\+absolute\+\_\+inplace}} () override
\begin{DoxyCompactList}\small\item\em Compute absolute inplace on each element. \end{DoxyCompactList}\item 
value\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a2ea712e9d164811adab1f85c5c442d2b}{get\+\_\+values}} () noexcept
\begin{DoxyCompactList}\small\item\em Returns the values of the matrix. \end{DoxyCompactList}\item 
const value\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_af3ac646c959957a46ffe8025f3dbad8f}{get\+\_\+const\+\_\+values}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the values of the matrix.    \end{DoxyCompactList}\item 
index\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a3e522754120fc3567744e4a0c98b2adf}{get\+\_\+col\+\_\+idxs}} () noexcept
\begin{DoxyCompactList}\small\item\em Returns the column indexes of the matrix. \end{DoxyCompactList}\item 
const index\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_ae090c3355e5377212cd309e9723f4a33}{get\+\_\+const\+\_\+col\+\_\+idxs}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the column indexes of the matrix.    \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a6948f124e25405cd5d9f5148084070e6}{get\+\_\+slice\+\_\+lengths}} () noexcept
\begin{DoxyCompactList}\small\item\em Returns the lengths(columns) of slices. \end{DoxyCompactList}\item 
const \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_aefc575fb40cdb2ea8f51c0da0c40b3e2}{get\+\_\+const\+\_\+slice\+\_\+lengths}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the lengths(columns) of slices.    \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_aa31fb3121dd1686fa27eff8d65d18b87}{get\+\_\+slice\+\_\+sets}} () noexcept
\begin{DoxyCompactList}\small\item\em Returns the offsets of slices. \end{DoxyCompactList}\item 
const \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a39c33f8b6c2a00915375366f7fc3c6dd}{get\+\_\+const\+\_\+slice\+\_\+sets}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the offsets of slices.    \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a0554e79b672f35df5dd01cb467850227}{get\+\_\+slice\+\_\+size}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the size of a slice. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a34c7942cac3db5a9c4c0b609d2a5540b}{get\+\_\+stride\+\_\+factor}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the stride factor(t) of SELL-\/P. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a3e5ca0f4968f29f97b5a42aac4d08b3d}{get\+\_\+total\+\_\+cols}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the total column number. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_aab92660b6249e243e3ad35a51c557f3b}{get\+\_\+num\+\_\+stored\+\_\+elements}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the number of elements explicitly stored in the matrix. \end{DoxyCompactList}\item 
value\+\_\+type \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a11d6b079410d557a299452f1013a5b25}{val\+\_\+at}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} row, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} slice\+\_\+set, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} idx) noexcept
\begin{DoxyCompactList}\small\item\em Returns the {\ttfamily idx}-\/th non-\/zero element of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set. \end{DoxyCompactList}\item 
value\+\_\+type \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_ad4bb228252469da6e57eb38edd66fb8e}{val\+\_\+at}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} row, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} slice\+\_\+set, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} idx) const noexcept
\begin{DoxyCompactList}\small\item\em Returns the {\ttfamily idx}-\/th non-\/zero element of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set.    \end{DoxyCompactList}\item 
index\+\_\+type \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a1821f43aa8c7704ca796ffe5fb8edac5}{col\+\_\+at}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} row, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} slice\+\_\+set, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} idx) noexcept
\begin{DoxyCompactList}\small\item\em Returns the {\ttfamily idx}-\/th column index of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set. \end{DoxyCompactList}\item 
index\+\_\+type \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a5fb397d1dc15063dc4dc78bb9d9b4f72}{col\+\_\+at}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} row, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} slice\+\_\+set, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} idx) const noexcept
\begin{DoxyCompactList}\small\item\em Returns the {\ttfamily idx}-\/th column index of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set.    \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a726432594559379bfbebe6ce108a83b0}{operator=}} (const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} \&)
\begin{DoxyCompactList}\small\item\em Copy-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a344232d6b4498b6f7d051f3e58aea71b}{operator=}} (\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} \&\&)
\begin{DoxyCompactList}\small\item\em Move-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} (const Sellp \&)
\begin{DoxyCompactList}\small\item\em Copy-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_aebc5817b730b09da2c3026eeb8aa8a1d}{Sellp}} (Sellp \&\&)
\begin{DoxyCompactList}\small\item\em Move-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1EnableLinOp}{gko::\+\+Enable\+Lin\+Op$<$ Sellp$<$ default\+\_\+precision, int32 $>$ $>$}}}
\begin{DoxyCompactItemize}
\item 
const Sellp$<$ \doxymbox{\hyperlink{namespacegko_a89637c833af7ae805802226d97cebebf}{default\+\_\+precision}}, \doxymbox{\hyperlink{namespacegko_a16bd14c10900eb804d784908d8aab5ab}{int32}} $>$ \texorpdfstring{$\ast$}{*} {\bfseries apply} (\doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ const \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ b, \doxymbox{\hyperlink{classgko_1_1ptr__param}{ptr\+\_\+param}}$<$ \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ x) const
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1EnablePolymorphicAssignment}{gko::\+\+Enable\+Polymorphic\+Assignment$<$ Sellp$<$ default\+\_\+precision, int32 $>$ $>$}}}
\begin{DoxyCompactItemize}
\item 
void {\bfseries convert\+\_\+to} (result\+\_\+type \texorpdfstring{$\ast$}{*}result) const override
\item 
void {\bfseries move\+\_\+to} (result\+\_\+type \texorpdfstring{$\ast$}{*}result) override
\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1DiagonalExtractable}{gko::\+\+Diagonal\+Extractable$<$ default\+\_\+precision $>$}}}
\begin{DoxyCompactItemize}
\item 
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ \doxymbox{\hyperlink{classgko_1_1DiagonalExtractable_a7d41c0cb7b317402ea61bc145b82a9db}{extract\+\_\+diagonal\+\_\+linop}} () const override
\begin{DoxyCompactList}\small\item\em Extracts the diagonal entries of the matrix into a vector. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1ReadableFromMatrixData}{gko::\+\+Readable\+From\+Matrix\+Data$<$ default\+\_\+precision, int32 $>$}}}
\begin{DoxyCompactItemize}
\item 
virtual void \doxymbox{\hyperlink{classgko_1_1ReadableFromMatrixData_add5c12e23b3ac3c8fbd607fa5a9656bb}{read}} (const \doxymbox{\hyperlink{structgko_1_1matrix__data}{matrix\+\_\+data}}$<$ \doxymbox{\hyperlink{namespacegko_a89637c833af7ae805802226d97cebebf}{default\+\_\+precision}}, \doxymbox{\hyperlink{namespacegko_a16bd14c10900eb804d784908d8aab5ab}{int32}} $>$ \&data)=0
\begin{DoxyCompactList}\small\item\em Reads a matrix from a \doxylink{structgko_1_1matrix__data}{matrix\+\_\+data} structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1WritableToMatrixData}{gko::\+\+Writable\+To\+Matrix\+Data$<$ default\+\_\+precision, int32 $>$}}}
\begin{DoxyCompactItemize}
\item 
virtual void \doxymbox{\hyperlink{classgko_1_1WritableToMatrixData_a96036c3a4bf4c67fa93002808b8b14e2}{write}} (\doxymbox{\hyperlink{structgko_1_1matrix__data}{matrix\+\_\+data}}$<$ \doxymbox{\hyperlink{namespacegko_a89637c833af7ae805802226d97cebebf}{default\+\_\+precision}}, \doxymbox{\hyperlink{namespacegko_a16bd14c10900eb804d784908d8aab5ab}{int32}} $>$ \&data) const=0
\begin{DoxyCompactList}\small\item\em Writes a matrix to a \doxylink{structgko_1_1matrix__data}{matrix\+\_\+data} structure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1EnableAbsoluteComputation}{gko::\+\+Enable\+Absolute\+Computation$<$ remove\+\_\+complex$<$ Sellp$<$ default\+\_\+precision, int32 $>$ $>$ $>$}}}
\begin{DoxyCompactItemize}
\item 
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1LinOp}{Lin\+Op}} $>$ \doxymbox{\hyperlink{classgko_1_1EnableAbsoluteComputation_a4cf4eedb2090f486bdef0a8717142b7c}{compute\+\_\+absolute\+\_\+linop}} () const override
\begin{DoxyCompactList}\small\item\em Gets the absolute \doxylink{classgko_1_1LinOp}{Lin\+Op}. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a834ef63e2f13fbe7948a1b9e385b789a}{create}} (std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1Executor}{Executor}} $>$ exec, const \doxymbox{\hyperlink{structgko_1_1dim}{dim}}$<$ 2 $>$ \&size=\{\}, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} total\+\_\+cols=0)
\begin{DoxyCompactList}\small\item\em Creates an uninitialized \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix of the specified size. \end{DoxyCompactList}\item 
static std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a13aeca022a230b97822ac95c390bec80}{create}} (std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1Executor}{Executor}} $>$ exec, const \doxymbox{\hyperlink{structgko_1_1dim}{dim}}$<$ 2 $>$ \&size, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} slice\+\_\+size, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} stride\+\_\+factor, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} total\+\_\+cols)
\begin{DoxyCompactList}\small\item\em Creates an uninitialized \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix of the specified size. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Friends}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a9f42518ddcbd7efd8347113f4184667d}\label{classgko_1_1matrix_1_1Sellp_a9f42518ddcbd7efd8347113f4184667d} 
class {\bfseries Enable\+Polymorphic\+Object$<$ Sellp, Lin\+Op $>$}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a22a84c8f67f946aa60a2fa8bf5835a32}\label{classgko_1_1matrix_1_1Sellp_a22a84c8f67f946aa60a2fa8bf5835a32} 
class {\bfseries Dense$<$ Value\+Type $>$}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a3962faf971a3df6ff4c9226c61fb24cc}\label{classgko_1_1matrix_1_1Sellp_a3962faf971a3df6ff4c9226c61fb24cc} 
class {\bfseries Csr$<$ Value\+Type, Index\+Type $>$}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_a919d6a517441c55d8bbe1a70b21048ea}\label{classgko_1_1matrix_1_1Sellp_a919d6a517441c55d8bbe1a70b21048ea} 
class {\bfseries Sellp$<$ to\+\_\+complex$<$ Value\+Type $>$, Index\+Type $>$}
\item 
\Hypertarget{classgko_1_1matrix_1_1Sellp_addb488969e695c881908b3501ed76600}\label{classgko_1_1matrix_1_1Sellp_addb488969e695c881908b3501ed76600} 
class {\bfseries Sellp$<$ previous\+\_\+precision$<$ Value\+Type $>$, Index\+Type $>$}
\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$\newline
class gko::\+matrix::\+\+Sellp$<$ Value\+Type, Index\+Type $>$}
SELL-\/P is a matrix format similar to ELL format. 

The difference is that SELL-\/P format divides rows into smaller slices and store each slice with ELL format.

This implementation uses the column index value \doxylink{namespacegko_afec01a3afbf68d99fc0f886c51bdc713}{invalid\+\_\+index$<$\+Index\+Type$>$()} to mark padding entries that are not part of the sparsity pattern.


\begin{DoxyTemplParams}{Template Parameters}
{\em Value\+Type} & precision of matrix elements \\
\hline
{\em Index\+Type} & precision of matrix indexes \\
\hline
\end{DoxyTemplParams}


\label{doc-constructors}
\Hypertarget{classgko_1_1matrix_1_1Sellp_doc-constructors}
\doxysubsection{Constructor \& Destructor Documentation}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!Sellp@{Sellp}}
\index{Sellp@{Sellp}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{Sellp()}{Sellp()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+\+Sellp (\begin{DoxyParamCaption}\item[{const Sellp$<$ Value\+Type, Index\+Type $>$ \&}]{}{}\end{DoxyParamCaption})}



Copy-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. 

Inherits the executor, copies the data and parameters. 

References \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp()}}.



Referenced by \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a726432594559379bfbebe6ce108a83b0}{operator=()}}, \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a344232d6b4498b6f7d051f3e58aea71b}{operator=()}}, \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp()}}, and \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_aebc5817b730b09da2c3026eeb8aa8a1d}{Sellp()}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_aebc5817b730b09da2c3026eeb8aa8a1d}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!Sellp@{Sellp}}
\index{Sellp@{Sellp}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{Sellp()}{Sellp()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_aebc5817b730b09da2c3026eeb8aa8a1d} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+\+Sellp (\begin{DoxyParamCaption}\item[{Sellp$<$ Value\+Type, Index\+Type $>$ \&\&}]{}{}\end{DoxyParamCaption})}



Move-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. 

Inherits the executor, moves the data and parameters. The moved-\/from object is empty (0x0 with valid slice\+\_\+sets and unchanged parameters). 

References \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp()}}.



\label{doc-func-members}
\Hypertarget{classgko_1_1matrix_1_1Sellp_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a5fb397d1dc15063dc4dc78bb9d9b4f72}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!col\_at@{col\_at}}
\index{col\_at@{col\_at}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{col\_at()}{col\_at()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a5fb397d1dc15063dc4dc78bb9d9b4f72} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
index\+\_\+type \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+col\+\_\+at (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{row}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{slice\+\_\+set}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{idx}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the {\ttfamily idx}-\/th column index of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set.    


\begin{DoxyParams}{Parameters}
{\em row} & the row of the requested element in the slice \\
\hline
{\em slice\+\_\+set} & the slice set of the slice \\
\hline
{\em idx} & the idx-\/th stored element of the row in the slice\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
the method has to be called on the same \doxylink{classgko_1_1Executor}{Executor} the matrix is stored at (e.\+g. trying to call this method on a GPU matrix from the CPU results in a runtime error)    
\end{DoxyNote}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a1821f43aa8c7704ca796ffe5fb8edac5}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!col\_at@{col\_at}}
\index{col\_at@{col\_at}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{col\_at()}{col\_at()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a1821f43aa8c7704ca796ffe5fb8edac5} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
index\+\_\+type \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+col\+\_\+at (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{row}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{slice\+\_\+set}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{idx}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the {\ttfamily idx}-\/th column index of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set. 


\begin{DoxyParams}{Parameters}
{\em row} & the row of the requested element in the slice \\
\hline
{\em slice\+\_\+set} & the slice set of the slice \\
\hline
{\em idx} & the idx-\/th stored element of the row in the slice\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
the method has to be called on the same \doxylink{classgko_1_1Executor}{Executor} the matrix is stored at (e.\+g. trying to call this method on a GPU matrix from the CPU results in a runtime error) 
\end{DoxyNote}


References \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a3e522754120fc3567744e4a0c98b2adf}{get\+\_\+col\+\_\+idxs()}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_a264e6af0d5ca0c10518c5b7084ee2ed1}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!compute\_absolute@{compute\_absolute}}
\index{compute\_absolute@{compute\_absolute}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{compute\_absolute()}{compute\_absolute()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a264e6af0d5ca0c10518c5b7084ee2ed1} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
std::\+unique\+\_\+ptr$<$ absolute\+\_\+type $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+compute\+\_\+absolute (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Gets the Absolute\+Lin\+Op. 

\begin{DoxyReturn}{Returns}
a pointer to the new absolute object 
\end{DoxyReturn}


Implements \doxymbox{\hyperlink{classgko_1_1EnableAbsoluteComputation_a4c042054915430f60124de37545eab65}{gko::\+\+Enable\+Absolute\+Computation$<$ remove\+\_\+complex$<$ Sellp$<$ default\+\_\+precision, int32 $>$ $>$ $>$}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_a7d25d89713713f96fa7d3efe436d7f6e}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!compute\_absolute\_inplace@{compute\_absolute\_inplace}}
\index{compute\_absolute\_inplace@{compute\_absolute\_inplace}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{compute\_absolute\_inplace()}{compute\_absolute\_inplace()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a7d25d89713713f96fa7d3efe436d7f6e} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
void \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+compute\+\_\+absolute\+\_\+inplace (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Compute absolute inplace on each element. 



Implements \doxymbox{\hyperlink{classgko_1_1AbsoluteComputable_a09c6acf477a3457b2b2dc0618b406da2}{gko::\+\+Absolute\+Computable}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_a13aeca022a230b97822ac95c390bec80}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!create@{create}}
\index{create@{create}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a13aeca022a230b97822ac95c390bec80} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+create (\begin{DoxyParamCaption}\item[{std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1Executor}{Executor}} $>$}]{exec}{, }\item[{const \doxymbox{\hyperlink{structgko_1_1dim}{dim}}$<$ 2 $>$ \&}]{size}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{slice\+\_\+size}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{stride\+\_\+factor}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{total\+\_\+cols}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Creates an uninitialized \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix of the specified size. 


\begin{DoxyParams}{Parameters}
{\em exec} & \doxylink{classgko_1_1Executor}{Executor} associated to the matrix \\
\hline
{\em size} & size of the matrix \\
\hline
{\em slice\+\_\+size} & number of rows in each slice \\
\hline
{\em stride\+\_\+factor} & factor for the stride in each slice (strides should be multiples of the stride\+\_\+factor) \\
\hline
{\em total\+\_\+cols} & number of the sum of all cols in every slice.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A smart pointer to the newly created matrix. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a834ef63e2f13fbe7948a1b9e385b789a}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!create@{create}}
\index{create@{create}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{create()}{create()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a834ef63e2f13fbe7948a1b9e385b789a} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+create (\begin{DoxyParamCaption}\item[{std::\+shared\+\_\+ptr$<$ const \doxymbox{\hyperlink{classgko_1_1Executor}{Executor}} $>$}]{exec}{, }\item[{const \doxymbox{\hyperlink{structgko_1_1dim}{dim}}$<$ 2 $>$ \&}]{size}{ = {\ttfamily \{\}}, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{total\+\_\+cols}{ = {\ttfamily 0}}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [static]}}



Creates an uninitialized \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix of the specified size. 

(The slice\+\_\+size and stride\+\_\+factor are set to the default values.)


\begin{DoxyParams}{Parameters}
{\em exec} & \doxylink{classgko_1_1Executor}{Executor} associated to the matrix \\
\hline
{\em size} & size of the matrix \\
\hline
{\em total\+\_\+cols} & number of the sum of all cols in every slice.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
A smart pointer to the newly created matrix. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_aeeedbc7fb3f2f015b5c58e63adfef43f}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!extract\_diagonal@{extract\_diagonal}}
\index{extract\_diagonal@{extract\_diagonal}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{extract\_diagonal()}{extract\_diagonal()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_aeeedbc7fb3f2f015b5c58e63adfef43f} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
std::\+unique\+\_\+ptr$<$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Diagonal}{Diagonal}}$<$ Value\+Type $>$ $>$ \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+extract\+\_\+diagonal (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [override]}, {\ttfamily [virtual]}}



Extracts the diagonal entries of the matrix into a vector. 


\begin{DoxyParams}{Parameters}
{\em diag} & the vector into which the diagonal will be written \\
\hline
\end{DoxyParams}


Implements \doxymbox{\hyperlink{classgko_1_1DiagonalExtractable_aad6b7e3977359d5a3beab6b27bbb64c4}{gko::\+\+Diagonal\+Extractable$<$ default\+\_\+precision $>$}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_a3e522754120fc3567744e4a0c98b2adf}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_col\_idxs@{get\_col\_idxs}}
\index{get\_col\_idxs@{get\_col\_idxs}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_col\_idxs()}{get\_col\_idxs()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a3e522754120fc3567744e4a0c98b2adf} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
index\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+col\+\_\+idxs (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the column indexes of the matrix. 

\begin{DoxyReturn}{Returns}
the column indexes of the matrix. 
\end{DoxyReturn}


Referenced by \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a1821f43aa8c7704ca796ffe5fb8edac5}{col\+\_\+at()}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_ae090c3355e5377212cd309e9723f4a33}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_const\_col\_idxs@{get\_const\_col\_idxs}}
\index{get\_const\_col\_idxs@{get\_const\_col\_idxs}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_const\_col\_idxs()}{get\_const\_col\_idxs()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_ae090c3355e5377212cd309e9723f4a33} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
const index\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+const\+\_\+col\+\_\+idxs (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the column indexes of the matrix.    

\begin{DoxyReturn}{Returns}
the column indexes of the matrix.   
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This is the constant version of the function, which can be significantly more memory efficient than the non-\/constant version, so always prefer this version. 
\end{DoxyNote}
\Hypertarget{classgko_1_1matrix_1_1Sellp_aefc575fb40cdb2ea8f51c0da0c40b3e2}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_const\_slice\_lengths@{get\_const\_slice\_lengths}}
\index{get\_const\_slice\_lengths@{get\_const\_slice\_lengths}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_const\_slice\_lengths()}{get\_const\_slice\_lengths()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_aefc575fb40cdb2ea8f51c0da0c40b3e2} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
const \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+const\+\_\+slice\+\_\+lengths (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the lengths(columns) of slices.    

\begin{DoxyReturn}{Returns}
the lengths(columns) of slices.   
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This is the constant version of the function, which can be significantly more memory efficient than the non-\/constant version, so always prefer this version. 
\end{DoxyNote}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a39c33f8b6c2a00915375366f7fc3c6dd}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_const\_slice\_sets@{get\_const\_slice\_sets}}
\index{get\_const\_slice\_sets@{get\_const\_slice\_sets}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_const\_slice\_sets()}{get\_const\_slice\_sets()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a39c33f8b6c2a00915375366f7fc3c6dd} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
const \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+const\+\_\+slice\+\_\+sets (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the offsets of slices.    

\begin{DoxyReturn}{Returns}
the offsets of slices.   
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This is the constant version of the function, which can be significantly more memory efficient than the non-\/constant version, so always prefer this version. 
\end{DoxyNote}
\Hypertarget{classgko_1_1matrix_1_1Sellp_af3ac646c959957a46ffe8025f3dbad8f}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_const\_values@{get\_const\_values}}
\index{get\_const\_values@{get\_const\_values}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_const\_values()}{get\_const\_values()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_af3ac646c959957a46ffe8025f3dbad8f} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
const value\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+const\+\_\+values (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the values of the matrix.    

\begin{DoxyReturn}{Returns}
the values of the matrix.   
\end{DoxyReturn}
\begin{DoxyNote}{Note}
This is the constant version of the function, which can be significantly more memory efficient than the non-\/constant version, so always prefer this version. 
\end{DoxyNote}
\Hypertarget{classgko_1_1matrix_1_1Sellp_aab92660b6249e243e3ad35a51c557f3b}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_num\_stored\_elements@{get\_num\_stored\_elements}}
\index{get\_num\_stored\_elements@{get\_num\_stored\_elements}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_num\_stored\_elements()}{get\_num\_stored\_elements()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_aab92660b6249e243e3ad35a51c557f3b} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+num\+\_\+stored\+\_\+elements (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the number of elements explicitly stored in the matrix. 

\begin{DoxyReturn}{Returns}
the number of elements explicitly stored in the matrix 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a6948f124e25405cd5d9f5148084070e6}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_slice\_lengths@{get\_slice\_lengths}}
\index{get\_slice\_lengths@{get\_slice\_lengths}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_slice\_lengths()}{get\_slice\_lengths()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a6948f124e25405cd5d9f5148084070e6} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+slice\+\_\+lengths (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the lengths(columns) of slices. 

\begin{DoxyReturn}{Returns}
the lengths(columns) of slices. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_aa31fb3121dd1686fa27eff8d65d18b87}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_slice\_sets@{get\_slice\_sets}}
\index{get\_slice\_sets@{get\_slice\_sets}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_slice\_sets()}{get\_slice\_sets()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_aa31fb3121dd1686fa27eff8d65d18b87} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+slice\+\_\+sets (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the offsets of slices. 

\begin{DoxyReturn}{Returns}
the offsets of slices. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a0554e79b672f35df5dd01cb467850227}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_slice\_size@{get\_slice\_size}}
\index{get\_slice\_size@{get\_slice\_size}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_slice\_size()}{get\_slice\_size()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a0554e79b672f35df5dd01cb467850227} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+slice\+\_\+size (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the size of a slice. 

\begin{DoxyReturn}{Returns}
the size of a slice. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a34c7942cac3db5a9c4c0b609d2a5540b}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_stride\_factor@{get\_stride\_factor}}
\index{get\_stride\_factor@{get\_stride\_factor}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_stride\_factor()}{get\_stride\_factor()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a34c7942cac3db5a9c4c0b609d2a5540b} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+stride\+\_\+factor (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the stride factor(t) of SELL-\/P. 

\begin{DoxyReturn}{Returns}
the stride factor(t) of SELL-\/P. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a3e5ca0f4968f29f97b5a42aac4d08b3d}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_total\_cols@{get\_total\_cols}}
\index{get\_total\_cols@{get\_total\_cols}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_total\_cols()}{get\_total\_cols()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a3e5ca0f4968f29f97b5a42aac4d08b3d} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+total\+\_\+cols (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the total column number. 

\begin{DoxyReturn}{Returns}
the total column number. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a2ea712e9d164811adab1f85c5c442d2b}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!get\_values@{get\_values}}
\index{get\_values@{get\_values}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{get\_values()}{get\_values()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a2ea712e9d164811adab1f85c5c442d2b} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
value\+\_\+type \texorpdfstring{$\ast$}{*} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+get\+\_\+values (\begin{DoxyParamCaption}{}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the values of the matrix. 

\begin{DoxyReturn}{Returns}
the values of the matrix. 
\end{DoxyReturn}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a726432594559379bfbebe6ce108a83b0}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!operator=@{operator=}}
\index{operator=@{operator=}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a726432594559379bfbebe6ce108a83b0} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+operator= (\begin{DoxyParamCaption}\item[{const \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}}$<$ Value\+Type, Index\+Type $>$ \&}]{}{}\end{DoxyParamCaption})}



Copy-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. 

Preserves the executor, copies the data and parameters. 

References \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp()}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_a344232d6b4498b6f7d051f3e58aea71b}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!operator=@{operator=}}
\index{operator=@{operator=}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{operator=()}{operator=()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a344232d6b4498b6f7d051f3e58aea71b} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}} \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+operator= (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp}}$<$ Value\+Type, Index\+Type $>$ \&\&}]{}{}\end{DoxyParamCaption})}



Move-\/assigns a \doxylink{classgko_1_1matrix_1_1Sellp}{Sellp} matrix. 

Preserves the executor, moves the data and parameters. The moved-\/from object is empty (0x0 with valid slice\+\_\+sets and unchanged parameters). 

References \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp_a23225bd20594a8a65d73b511145a30f2}{Sellp()}}.

\Hypertarget{classgko_1_1matrix_1_1Sellp_ad4bb228252469da6e57eb38edd66fb8e}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!val\_at@{val\_at}}
\index{val\_at@{val\_at}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{val\_at()}{val\_at()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_ad4bb228252469da6e57eb38edd66fb8e} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
value\+\_\+type \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+val\+\_\+at (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{row}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{slice\+\_\+set}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{idx}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the {\ttfamily idx}-\/th non-\/zero element of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set.    


\begin{DoxyParams}{Parameters}
{\em row} & the row of the requested element in the slice \\
\hline
{\em slice\+\_\+set} & the slice set of the slice \\
\hline
{\em idx} & the idx-\/th stored element of the row in the slice\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
the method has to be called on the same \doxylink{classgko_1_1Executor}{Executor} the matrix is stored at (e.\+g. trying to call this method on a GPU matrix from the CPU results in a runtime error)    
\end{DoxyNote}
\Hypertarget{classgko_1_1matrix_1_1Sellp_a11d6b079410d557a299452f1013a5b25}\index{gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}!val\_at@{val\_at}}
\index{val\_at@{val\_at}!gko::matrix::Sellp$<$ ValueType, IndexType $>$@{gko::matrix::Sellp$<$ ValueType, IndexType $>$}}
\doxysubsubsection{\texorpdfstring{val\_at()}{val\_at()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Sellp_a11d6b079410d557a299452f1013a5b25} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
value\+\_\+type \& \doxymbox{\hyperlink{classgko_1_1matrix_1_1Sellp}{gko::\+matrix::\+\+Sellp}}$<$ Value\+Type, Index\+Type $>$::\+val\+\_\+at (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{row}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{slice\+\_\+set}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{idx}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [noexcept]}}



Returns the {\ttfamily idx}-\/th non-\/zero element of the {\ttfamily row}-\/th row with {\ttfamily slice\+\_\+set} slice set. 


\begin{DoxyParams}{Parameters}
{\em row} & the row of the requested element in the slice \\
\hline
{\em slice\+\_\+set} & the slice set of the slice \\
\hline
{\em idx} & the idx-\/th stored element of the row in the slice\\
\hline
\end{DoxyParams}
\begin{DoxyNote}{Note}
the method has to be called on the same \doxylink{classgko_1_1Executor}{Executor} the matrix is stored at (e.\+g. trying to call this method on a GPU matrix from the CPU results in a runtime error) 
\end{DoxyNote}


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