Ginkgo  Generated from pipelines/2017069469 branch based on develop. Ginkgo version 1.11.0
A numerical linear algebra library targeting many-core architectures
Public Member Functions | List of all members
gko::local_span Struct Reference

A span that is used exclusively for local numbering. More...

#include <ginkgo/core/base/range.hpp>

Inheritance diagram for gko::local_span:
[legend]
Collaboration diagram for gko::local_span:
[legend]

Public Member Functions

constexpr span (size_type point) noexcept
 Creates a span representing a point point. More...
 
constexpr span (size_type begin, size_type end) noexcept
 Creates a span. More...
 
- Public Member Functions inherited from gko::span
constexpr span (size_type point) noexcept
 Creates a span representing a point point. More...
 
constexpr span (size_type begin, size_type end) noexcept
 Creates a span. More...
 
constexpr bool is_valid () const
 Checks if a span is valid. More...
 
constexpr size_type length () const
 Returns the length of a span. More...
 

Additional Inherited Members

- Public Attributes inherited from gko::span
const size_type begin
 Beginning of the span.
 
const size_type end
 End of the span.
 

Detailed Description

A span that is used exclusively for local numbering.

Member Function Documentation

◆ span() [1/2]

constexpr gko::span::span
inlineconstexprnoexcept

Creates a span.

Parameters
beginthe beginning of the span
endthe end of the span

◆ span() [2/2]

constexpr gko::span::span
inlineconstexprnoexcept

Creates a span representing a point point.

The begin of this span is set to point, and the end to point + 1.

Parameters
pointthe point which the span represents

The documentation for this struct was generated from the following file: