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


automatic is a \doxylink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type}{strategy\+\_\+type} which decides the number of stored elements per row of the ell part automatically.  




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



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


Collaboration diagram for gko::\+matrix::\+Hybrid\texorpdfstring{$<$}{<} Value\+Type, Index\+Type \texorpdfstring{$>$}{>}::\+automatic:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=201pt]{classgko_1_1matrix_1_1Hybrid_1_1automatic__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\Hypertarget{classgko_1_1matrix_1_1Hybrid_1_1automatic_aadf787a2d56fe0e67c4108f14ee0cb6e}\label{classgko_1_1matrix_1_1Hybrid_1_1automatic_aadf787a2d56fe0e67c4108f14ee0cb6e} 
{\bfseries automatic} ()
\begin{DoxyCompactList}\small\item\em Creates an automatic strategy. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid_1_1automatic_a5e3af48e0956b121b32c8e6e0930a51c}{compute\+\_\+ell\+\_\+num\+\_\+stored\+\_\+elements\+\_\+per\+\_\+row}} (\doxymbox{\hyperlink{classgko_1_1array}{array}}$<$ \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} $>$ \texorpdfstring{$\ast$}{*}row\+\_\+nnz) const override
\begin{DoxyCompactList}\small\item\em Computes the number of stored elements per row of the ell part. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type}{gko::\+matrix::\+\+Hybrid$<$ Value\+Type, Index\+Type $>$::\+strategy\+\_\+type}}}
\begin{DoxyCompactItemize}
\item 
{\bfseries strategy\+\_\+type} ()
\begin{DoxyCompactList}\small\item\em Creates a \doxylink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type}{strategy\+\_\+type}. \end{DoxyCompactList}\item 
void \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type_ab7b115c95b89badb15eb49fb5974c249}{compute\+\_\+hybrid\+\_\+config}} (const \doxymbox{\hyperlink{classgko_1_1array}{array}}$<$ \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} $>$ \&row\+\_\+nnz, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*}ell\+\_\+num\+\_\+stored\+\_\+elements\+\_\+per\+\_\+row, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \texorpdfstring{$\ast$}{*}coo\+\_\+nnz)
\begin{DoxyCompactList}\small\item\em Computes the config of the \doxylink{classgko_1_1matrix_1_1Hybrid}{Hybrid} matrix (ell\+\_\+num\+\_\+stored\+\_\+elements\+\_\+per\+\_\+row and coo\+\_\+nnz). \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type_a9282863b7637d6e3612bdf3bd9762b0a}{get\+\_\+ell\+\_\+num\+\_\+stored\+\_\+elements\+\_\+per\+\_\+row}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the number of stored elements per row of the ell part. \end{DoxyCompactList}\item 
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type_ae4e8729245df69e1b48ec56846e43b88}{get\+\_\+coo\+\_\+nnz}} () const noexcept
\begin{DoxyCompactList}\small\item\em Returns the number of nonzeros of the coo part. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
\subsubsection*{template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$\newline
class gko::\+matrix::\+\+Hybrid$<$ Value\+Type, Index\+Type $>$::\+automatic}
automatic is a \doxylink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type}{strategy\+\_\+type} which decides the number of stored elements per row of the ell part automatically. 

\label{doc-func-members}
\Hypertarget{classgko_1_1matrix_1_1Hybrid_1_1automatic_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{classgko_1_1matrix_1_1Hybrid_1_1automatic_a5e3af48e0956b121b32c8e6e0930a51c}\index{gko::matrix::Hybrid$<$ ValueType, IndexType $>$::automatic@{gko::matrix::Hybrid$<$ ValueType, IndexType $>$::automatic}!compute\_ell\_num\_stored\_elements\_per\_row@{compute\_ell\_num\_stored\_elements\_per\_row}}
\index{compute\_ell\_num\_stored\_elements\_per\_row@{compute\_ell\_num\_stored\_elements\_per\_row}!gko::matrix::Hybrid$<$ ValueType, IndexType $>$::automatic@{gko::matrix::Hybrid$<$ ValueType, IndexType $>$::automatic}}
\doxysubsubsection{\texorpdfstring{compute\_ell\_num\_stored\_elements\_per\_row()}{compute\_ell\_num\_stored\_elements\_per\_row()}}
{\footnotesize\ttfamily \label{classgko_1_1matrix_1_1Hybrid_1_1automatic_a5e3af48e0956b121b32c8e6e0930a51c} 
template$<$typename Value\+Type = default\+\_\+precision, typename Index\+Type = int32$>$ \\
\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid}{gko::\+matrix::\+\+Hybrid}}$<$ Value\+Type, Index\+Type $>$::\+automatic::\+compute\+\_\+ell\+\_\+num\+\_\+stored\+\_\+elements\+\_\+per\+\_\+row (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{classgko_1_1array}{array}}$<$ \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} $>$ \texorpdfstring{$\ast$}{*}}]{row\+\_\+nnz}{}\end{DoxyParamCaption}) const\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [override]}, {\ttfamily [virtual]}}



Computes the number of stored elements per row of the ell part. 


\begin{DoxyParams}{Parameters}
{\em row\+\_\+nnz} & the number of nonzeros of each row\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
the number of stored elements per row of the ell part 
\end{DoxyReturn}


Implements \doxymbox{\hyperlink{classgko_1_1matrix_1_1Hybrid_1_1strategy__type_a249343543a23e1c50a12373d033904bb}{gko::\+matrix::\+\+Hybrid$<$ Value\+Type, Index\+Type $>$::\+strategy\+\_\+type}}.



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