Public Types | |
using | discrete_element_type = DiscreteElement<> |
using | mlength_type = DiscreteVector<> |
Public Member Functions | |
constexpr | DiscreteDomain ()=default |
template<class... ODDims> | |
constexpr | DiscreteDomain (DiscreteDomain< ODDims... > const &domain) |
constexpr | DiscreteDomain (discrete_element_type const &element_begin, mlength_type const &size) |
Construct a DiscreteDomain starting from element_begin with size points. More... | |
constexpr | DiscreteDomain (DiscreteDomain const &x)=default |
constexpr | DiscreteDomain (DiscreteDomain &&x)=default |
~DiscreteDomain ()=default | |
DiscreteDomain & | operator= (DiscreteDomain const &x)=default |
DiscreteDomain & | operator= (DiscreteDomain &&x)=default |
constexpr bool | operator== (DiscreteDomain const &other) const |
constexpr bool | operator!= (DiscreteDomain const &other) const |
constexpr std::size_t | size () const |
constexpr mlength_type | extents () const noexcept |
constexpr discrete_element_type | front () const noexcept |
constexpr discrete_element_type | back () const noexcept |
constexpr DiscreteDomain | take_first (mlength_type n) const |
constexpr DiscreteDomain | take_last (mlength_type n) const |
constexpr DiscreteDomain | remove_first (mlength_type n) const |
constexpr DiscreteDomain | remove_last (mlength_type n) const |
constexpr DiscreteDomain | remove (mlength_type n1, mlength_type n2) const |
template<class... ODims> | |
constexpr DiscreteDomain | restrict (DiscreteDomain< ODims... > const &) const |
constexpr bool | empty () const noexcept |
constexpr | operator bool () |
Static Public Member Functions | |
static constexpr std::size_t | rank () |
Friends | |
template<class... > | |
class | DiscreteDomain |
using ddc::DiscreteDomain<>::discrete_element_type = DiscreteElement<> |
using ddc::DiscreteDomain<>::mlength_type = DiscreteVector<> |
|
constexprdefault |
|
inlineexplicitconstexpr |
|
inlineconstexpr |
Construct a DiscreteDomain starting from element_begin with size points.
element_begin | the lower bound in each direction |
size | the number of points in each direction |
|
constexprdefault |
|
constexprdefault |
|
default |
|
inlinestaticconstexpr |
|
default |
|
default |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexprnoexcept |
|
inlineexplicitconstexpr |
|
friend |