\doxysection{gko::\+local\+\_\+span Struct Reference}
\hypertarget{structgko_1_1local__span}{}\label{structgko_1_1local__span}\index{gko::local\_span@{gko::local\_span}}


A span that is used exclusively for local numbering.  




{\ttfamily \+\#include $<$ginkgo/\+core/\+base/\+range.\+hpp$>$}



Inheritance diagram for gko::\+local\+\_\+span:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=164pt]{structgko_1_1local__span__inherit__graph}
\end{center}
\end{figure}


Collaboration diagram for gko::\+local\+\_\+span:\+
\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=164pt]{structgko_1_1local__span__coll__graph}
\end{center}
\end{figure}
\doxysubsubsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
constexpr \doxymbox{\hyperlink{structgko_1_1local__span_a2aafb0414ef14fac91296066f7426d6d}{span}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} point) noexcept
\begin{DoxyCompactList}\small\item\em Creates a span representing a point {\ttfamily point}. \end{DoxyCompactList}\item 
constexpr \doxymbox{\hyperlink{structgko_1_1local__span_a1566e1ab67312a6b9ece66fa4f5c8799}{span}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{structgko_1_1span_a54ff06eda27a98b62e83c7e9e7b6dcd7}{begin}}, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{structgko_1_1span_af68200dea4456e1bd3511c3b14bc2886}{end}}) noexcept
\begin{DoxyCompactList}\small\item\em Creates a span. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsection*{Public Member Functions inherited from \doxymbox{\hyperlink{structgko_1_1span}{gko::\+span}}}
\begin{DoxyCompactItemize}
\item 
constexpr \doxymbox{\hyperlink{structgko_1_1span_a2aafb0414ef14fac91296066f7426d6d}{span}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} point) noexcept
\begin{DoxyCompactList}\small\item\em Creates a span representing a point {\ttfamily point}. \end{DoxyCompactList}\item 
constexpr \doxymbox{\hyperlink{structgko_1_1span_a1566e1ab67312a6b9ece66fa4f5c8799}{span}} (\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{structgko_1_1span_a54ff06eda27a98b62e83c7e9e7b6dcd7}{begin}}, \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{structgko_1_1span_af68200dea4456e1bd3511c3b14bc2886}{end}}) noexcept
\begin{DoxyCompactList}\small\item\em Creates a span. \end{DoxyCompactList}\item 
constexpr bool \doxymbox{\hyperlink{structgko_1_1span_a32a87f434708e6857820858503f9b133}{is\+\_\+valid}} () const
\begin{DoxyCompactList}\small\item\em Checks if a span is valid. \end{DoxyCompactList}\item 
constexpr \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} \doxymbox{\hyperlink{structgko_1_1span_a4e869a36bebf78c090a0c2219f47c419}{length}} () const
\begin{DoxyCompactList}\small\item\em Returns the length of a span. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Additional Inherited Members}
\doxysubsection*{Public Attributes inherited from \doxymbox{\hyperlink{structgko_1_1span}{gko::\+span}}}
\begin{DoxyCompactItemize}
\item 
const \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} {\bfseries begin}
\begin{DoxyCompactList}\small\item\em Beginning of the span. \end{DoxyCompactList}\item 
const \doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}} {\bfseries end}
\begin{DoxyCompactList}\small\item\em End of the span. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsection{Detailed Description}
A span that is used exclusively for local numbering. 

\label{doc-func-members}
\Hypertarget{structgko_1_1local__span_doc-func-members}
\doxysubsection{Member Function Documentation}
\Hypertarget{structgko_1_1local__span_a1566e1ab67312a6b9ece66fa4f5c8799}\index{gko::local\_span@{gko::local\_span}!span@{span}}
\index{span@{span}!gko::local\_span@{gko::local\_span}}
\doxysubsubsection{\texorpdfstring{span()}{span()}\hspace{0.1cm}{\footnotesize\ttfamily [1/2]}}
{\footnotesize\ttfamily \label{structgko_1_1local__span_a1566e1ab67312a6b9ece66fa4f5c8799} 
\doxymbox{\hyperlink{structgko_1_1span_a2aafb0414ef14fac91296066f7426d6d}{gko::\+span::\+span}} (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{begin}{, }\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{end}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [constexpr]}, {\ttfamily [noexcept]}}



Creates a span. 


\begin{DoxyParams}{Parameters}
{\em \doxylink{structgko_1_1span_a54ff06eda27a98b62e83c7e9e7b6dcd7}{begin}} & the beginning of the span \\
\hline
{\em \doxylink{structgko_1_1span_af68200dea4456e1bd3511c3b14bc2886}{end}} & the end of the span \\
\hline
\end{DoxyParams}
\Hypertarget{structgko_1_1local__span_a2aafb0414ef14fac91296066f7426d6d}\index{gko::local\_span@{gko::local\_span}!span@{span}}
\index{span@{span}!gko::local\_span@{gko::local\_span}}
\doxysubsubsection{\texorpdfstring{span()}{span()}\hspace{0.1cm}{\footnotesize\ttfamily [2/2]}}
{\footnotesize\ttfamily \label{structgko_1_1local__span_a2aafb0414ef14fac91296066f7426d6d} 
\doxymbox{\hyperlink{structgko_1_1span_a2aafb0414ef14fac91296066f7426d6d}{gko::\+span::\+span}} (\begin{DoxyParamCaption}\item[{\doxymbox{\hyperlink{namespacegko_a9579c98b1d85bf4ad02d7cb5b96fc771}{size\+\_\+type}}}]{point}{}\end{DoxyParamCaption})\hspace{0.3cm}{\ttfamily [inline]}, {\ttfamily [constexpr]}, {\ttfamily [noexcept]}}



Creates a span representing a point {\ttfamily point}. 

The {\ttfamily \doxylink{structgko_1_1span_a54ff06eda27a98b62e83c7e9e7b6dcd7}{begin}} of this span is set to {\ttfamily point}, and the {\ttfamily \doxylink{structgko_1_1span_af68200dea4456e1bd3511c3b14bc2886}{end}} to {\ttfamily point + 1}.


\begin{DoxyParams}{Parameters}
{\em point} & the point which the span represents \\
\hline
\end{DoxyParams}


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