#include <alpaqa/util/index-set.hpp>
Definition at line 9 of file index-set.hpp.
Public Member Functions | |
IndexSet (length_t N, length_t n) | |
auto | sizes () |
auto | sizes () const |
auto | indices () |
auto | indices () const |
crindexvec | indices (index_t i) const |
crindexvec | compl_indices (index_t i) const |
template<class F > | |
void | update (const F &condition) |
Static Public Member Functions | |
static void | compute_complement (std::span< const index_t > in, std::span< index_t > out) |
static void | compute_complement (std::span< const index_t > in, std::span< index_t > out, length_t n) |
static void | compute_complement (crindexvec in, rindexvec out, length_t n) |
Public Attributes | |
length_t | N |
length_t | n |
indexvec | storage |
Static Private Member Functions | |
static void | compute_complement (std::span< const index_t > in, index_t *out, length_t n) |
Definition at line 12 of file index-set.hpp.
|
inline |
|
inline |
Definition at line 19 of file index-set.hpp.
|
inline |
|
inline |
Definition at line 21 of file index-set.hpp.
|
inline |
|
inline |
|
inlinestatic |
Definition at line 36 of file index-set.hpp.
|
inlinestatic |
|
inline |
|
inlinestaticprivate |
Definition at line 81 of file index-set.hpp.
length_t N |
Definition at line 14 of file index-set.hpp.
length_t n |
Definition at line 15 of file index-set.hpp.
indexvec storage |
Definition at line 16 of file index-set.hpp.