a base class for fixed sized const arrays.
More...
#include </home/runner/work/tfel/tfel/include/TFEL/Math/Array/ConstFixedSizeArrayBase.hxx>
|
| constexpr auto & | getIndexingPolicy () const |
| template<typename Functor> |
| TFEL_HOST_DEVICE constexpr void | iterate (const Functor &) const |
| | apply a multi-indices functor
|
|
template<typename Functor> |
| constexpr void | iterate (const Functor &f) const |
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator[] (const typename ArrayPolicyType::IndexingPolicy::size_type) const noexcept |
| | access operator
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator[] (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) const noexcept |
| | access operator
|
| template<typename... Indices> |
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator() (const Indices...) const noexcept |
| | access operator
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::const_reference | operator() (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) const noexcept |
| | access operator
|
|
template<typename... Indices> |
| constexpr ArrayPolicyType::const_reference | operator() (const Indices... i) const noexcept |
|
|
using | array_policy = ArrayPolicyType |
| | exposing the array policy
|
|
using | indexing_policy = typename ArrayPolicyType::IndexingPolicy |
| | exposing the indexing policy
|
template<typename Child, typename ArrayPolicyType>
struct tfel::math::ConstFixedSizeArrayBase< Child, ArrayPolicyType >
a base class for fixed sized const arrays.
◆ getIndexingPolicy()
template<typename Child, typename ArrayPolicy>
- Returns
- the current indexing policy
◆ iterate()
template<typename Child, typename ArrayPolicyType>
template<typename Functor>
apply a multi-indices functor
- Parameters
-
- Template Parameters
-
| Function | type of the functor |
The documentation for this struct was generated from the following files: