![]() |
Ginkgo
Generated from pipelines/2017069469 branch based on develop. Ginkgo version 1.11.0
A numerical linear algebra library targeting many-core architectures
|
A span that is used exclusively for local numbering. More...
#include <ginkgo/core/base/range.hpp>
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... | |
![]() | |
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 | |
![]() | |
const size_type | begin |
Beginning of the span. | |
const size_type | end |
End of the span. | |
A span that is used exclusively for local numbering.
|
inlineconstexprnoexcept |
Creates a span.
begin | the beginning of the span |
end | the end of the span |
|
inlineconstexprnoexcept |
Creates a span representing a point point
.
The begin
of this span is set to point
, and the end
to point + 1
.
point | the point which the span represents |