|
constexpr | DiscreteVector ()=default |
|
constexpr | DiscreteVector (DiscreteVector const &)=default |
|
constexpr | DiscreteVector (DiscreteVector &&)=default |
|
template<class... OTags> |
constexpr | DiscreteVector (DiscreteVector< OTags > const &... other) noexcept |
|
template<class... OTags> |
constexpr | DiscreteVector (DiscreteVector< OTags... > const &other) noexcept |
|
template<class... Params, class = std::enable_if_t<(std::is_convertible_v<Params, DiscreteVectorElement> && ...)>, class = std::enable_if_t<(!is_discrete_vector_v<Params> && ...)>, class = std::enable_if_t<sizeof...(Params) == sizeof...(Tags)>> |
constexpr | DiscreteVector (Params const &... params) noexcept |
|
constexpr DiscreteVector & | operator= (DiscreteVector const &other)=default |
|
constexpr DiscreteVector & | operator= (DiscreteVector &&other)=default |
|
template<class... OTags> |
constexpr DiscreteVector & | operator= (DiscreteVector< OTags... > const &other) noexcept |
|
template<class... OTags> |
constexpr DiscreteVector & | operator= (DiscreteVector< OTags... > &&other) noexcept |
|
template<class... OTags> |
constexpr bool | operator== (DiscreteVector< OTags... > const &rhs) const noexcept |
|
template<class... OTags> |
constexpr bool | operator!= (DiscreteVector< OTags... > const &rhs) const noexcept |
|
template<class QueryTag > |
constexpr DiscreteVectorElement & | get () noexcept |
|
template<class QueryTag > |
constexpr DiscreteVectorElement const & | get () const noexcept |
|
template<class QueryTag > |
DiscreteVectorElement const & | get_or (DiscreteVectorElement const &default_value) const & |
|
template<std::size_t N = sizeof...(Tags)> |
constexpr std::enable_if_t< N==1, DiscreteVectorElement const & > | value () const noexcept |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
constexpr DiscreteVector & | operator++ () |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
constexpr DiscreteVector | operator++ (int) |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
constexpr DiscreteVector & | operator-- () |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
constexpr DiscreteVector | operator-- (int) |
|
template<class... OTags> |
constexpr DiscreteVector & | operator+= (DiscreteVector< OTags... > const &rhs) |
|
template<class IntegralType , std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>, class = std::enable_if_t<std::is_integral_v<IntegralType>>> |
constexpr DiscreteVector & | operator+= (IntegralType const &rhs) |
|
template<class... OTags> |
constexpr DiscreteVector & | operator-= (DiscreteVector< OTags... > const &rhs) |
|
template<class IntegralType , std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>, class = std::enable_if_t<std::is_integral_v<IntegralType>>> |
constexpr DiscreteVector & | operator-= (IntegralType const &rhs) |
|
template<class... OTags> |
constexpr DiscreteVector & | operator*= (DiscreteVector< OTags... > const &rhs) |
|
template<class... Tags>
class ddc::DiscreteVector< Tags >
A DiscreteVector is a vector in the discrete dimension.
Each is tagged by its associated dimensions.