|
|
TFEL_HOST_DEVICE constexpr | ViewsArray (const data_pointer_type p) noexcept |
| | brief default constructor
|
| TFEL_HOST_DEVICE constexpr | ViewsArray (const data_pointer_type p, const MemoryIndexingPolicyType &mp) noexcept |
| | constructor from an indexing policy
|
| TFEL_HOST_DEVICE constexpr | ViewsArray (const data_pointer_type p, const typename MemoryIndexingPolicyType::size_type s) noexcept |
| | constructor from an indexing policy
|
| TFEL_HOST_DEVICE constexpr | ViewsArray (const data_pointer_type p, const std::array< typename MemoryIndexingPolicyType::size_type, MemoryIndexingPolicyType::arity > &msizes) noexcept |
| | constructor from an indexing policy
|
|
constexpr | ViewsArray (const ViewsArray &) noexcept=default |
| | copy constructor
|
|
constexpr | ViewsArray (ViewsArray &&) noexcept=default |
| | move constructor
|
|
TFEL_HOST_DEVICE constexpr ViewsArray::view_type | operator[] (const typename MemoryIndexingPolicyType::size_type i) noexcept |
| | access operator
|
|
TFEL_HOST_DEVICE constexpr ViewsArray::const_view_type | operator[] (const typename MemoryIndexingPolicyType::size_type i) const noexcept |
| | access operator
|
|
template<typename... Indices> |
| TFEL_HOST_DEVICE constexpr ViewsArray::view_type | operator() (const Indices... i) noexcept |
| | access operator
|
|
template<typename... Indices> |
| TFEL_HOST_DEVICE constexpr ViewsArray::const_view_type | operator() (const Indices... i) const noexcept |
| | access operator
|
|
constexpr auto | operator() (const typename MemoryIndexingPolicyType::size_type i, const typename ViewIndexingPolicyType::size_type s) noexcept |
| | access operator
|
|
constexpr auto | operator() (const typename MemoryIndexingPolicyType::size_type i, const typename ViewIndexingPolicyType::size_type s) const noexcept |
| | access operator
|
|
constexpr auto | operator() (const typename MemoryIndexingPolicyType::size_type i, const std::array< typename ViewIndexingPolicyType::size_type, ViewIndexingPolicyType::arity > &vsizes) noexcept |
| | access operator
|
|
constexpr auto | operator() (const typename MemoryIndexingPolicyType::size_type i, const std::array< typename ViewIndexingPolicyType::size_type, ViewIndexingPolicyType::arity > &vsizes) const noexcept |
| | access operator
|
|
constexpr auto | operator() (const std::array< typename MemoryIndexingPolicyType::size_type, MemoryIndexingPolicyType::arity > &indices, const typename ViewIndexingPolicyType::size_type s) noexcept |
| | access operator
|
|
constexpr auto | operator() (const std::array< typename MemoryIndexingPolicyType::size_type, MemoryIndexingPolicyType::arity > &indices, const typename ViewIndexingPolicyType::size_type s) const noexcept |
| | access operator
|
|
constexpr auto | operator() (const std::array< typename MemoryIndexingPolicyType::size_type, MemoryIndexingPolicyType::arity > &indices, const std::array< typename ViewIndexingPolicyType::size_type, ViewIndexingPolicyType::arity > &vsizes) noexcept |
| | access operator
|
|
constexpr auto | operator() (const std::array< typename MemoryIndexingPolicyType::size_type, MemoryIndexingPolicyType::arity > &indices, const std::array< typename ViewIndexingPolicyType::size_type, ViewIndexingPolicyType::arity > &vsizes) const noexcept |
| | access operator
|
template<typename ValueType2>
requires ( (isScalar<ValueType2>()) && (isAssignableTo<BinaryOperationResult<MappedType, ValueType2, OpMult>, MappedType>())) |
| TFEL_HOST_DEVICE constexpr ViewsArray & | operator*= (const ValueType2 &s) noexcept |
template<typename ValueType2>
requires ( (isScalar<ValueType2>()) && (isAssignableTo<BinaryOperationResult<MappedType, ValueType2, OpDiv>, MappedType>())) |
| TFEL_HOST_DEVICE constexpr ViewsArray & | operator/= (const ValueType2 &s) noexcept |
|
| ~ViewsArray () noexcept=default |
| | destructor
|
template<typename MappedType, typename MemoryIndexingPolicyType, typename ViewIndexingPolicyType = typename tfel::math::internals:: ViewsArrayDefaultViewIndexingPolicy<isScalar<MappedType>(), MappedType>::type>
struct tfel::math::ViewsArray< MappedType, MemoryIndexingPolicyType, ViewIndexingPolicyType >
a structure used to represent an array of views.
- Template Parameters
-
| MappedType | mapped type |
| MemoryIndexingPolicyType | indexing policy used to access to the underlying memory area. |
| ViewIndexingPolicyType | indexing policy used by the views |