|
dune-istl 2.12-git
|
Loading...
Searching...
No Matches
indexrange.hh
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright © DUNE Project contributors, see file LICENSE.md in module root
Definition experimental/bcrsmatrix.hh:21
int size() const
static constexpr IntegralRange< index_type > range(const R &index_set)
Logical index range covered by index_set.
Definition indexrange.hh:67
R index_range_type
The type of the index set.
Definition indexrange.hh:57
static constexpr size_type offset(const R &index_set, const index_type &value)
Offset of value in the index set.
Definition indexrange.hh:80
std::ranges::range_value_t< index_range_type > index_type
The type of indices in the index set.
Definition indexrange.hh:59
std::ranges::range_size_t< index_range_type > size_type
The type used to count elements in the index set.
Definition indexrange.hh:61
static constexpr size_type offset(const IntegralRange< T > &index_set, const index_type &value)
Compute offset of value by subtracting the beginning of the range.
Definition indexrange.hh:107
static constexpr IntegralRange< index_type > range(const IntegralRange< T > &index_set)
Return the logical index range covered by index_set.
Definition indexrange.hh:100
T index_type
The type of indices in the index set.
Definition indexrange.hh:92
typename IntegralRange< T >::size_type size_type
The type used to count elements in the index set.
Definition indexrange.hh:94
constexpr iterator begin() const noexcept
Requirements for an index container used by IndexedArrayView.
Definition indexrange.hh:31
OrderedIndexRange that is safe to use through iterators after moving from temporaries.
Definition indexrange.hh:42
T cbegin(T... args)
T distance(T... args)
T cend(T... args)
T lower_bound(T... args)
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8