|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference | operator[] (const typename ArrayPolicyType::IndexingPolicy::size_type) noexcept |
| | access operator
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference | operator[] (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) noexcept |
| | access operator
|
| template<typename... Indices> |
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference | operator() (const Indices...) noexcept |
| | access operator
|
| TFEL_HOST_DEVICE constexpr ArrayPolicyType::reference | operator() (const std::array< typename ArrayPolicyType::IndexingPolicy::size_type, ArrayPolicyType::IndexingPolicy::arity > &) noexcept |
| | access operator
|
template<typename ValueType>
requires ( isAssignableTo<ValueType, typename ArrayPolicyType::value_type>()) |
| TFEL_HOST_DEVICE constexpr Child & | operator= (const std::initializer_list< ValueType > &) noexcept |
| | assign values values from an initializer list
|
| template<typename ImportIndexingPolicy, typename InputIterator> |
| TFEL_HOST_DEVICE constexpr void | import (const ImportIndexingPolicy &, const InputIterator, const InputIterator) |
| | import array values from a sequence
|
template<typename ValueType2>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>()) |
| TFEL_HOST_DEVICE constexpr void | fill (const ValueType2 &) |
| | fill the array with the given value
|
template<typename ValueType2, typename ValueType3>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>() && isAssignableTo<ValueType3, typename ArrayPolicyType::value_type>()) |
| TFEL_HOST_DEVICE constexpr void | clamp (const ValueType2 &, const ValueType3 &) |
| | clamp all the values between the given bounds
|
|
template<typename... Indices> |
| constexpr ArrayPolicyType::reference | operator() (const Indices... i) noexcept |
|
template<typename OtherArray> |
| constexpr void | assign (const OtherArray &src) noexcept |
|
template<typename OtherArray> |
| constexpr void | addAndAssign (const OtherArray &src) noexcept |
|
template<typename OtherArray> |
| constexpr void | substractAndAssign (const OtherArray &src) noexcept |
template<typename ValueType>
requires ( isAssignableTo<ValueType, typename ArrayPolicyType::value_type>()) |
| constexpr Child & | operator= (const std::initializer_list< ValueType > &values) noexcept |
|
template<typename ImportIndexingPolicy, typename InputIterator> |
| constexpr void | import (const ImportIndexingPolicy &policy, const InputIterator p, const InputIterator pe) |
template<typename ValueType2>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>()) |
| constexpr void | fill (const ValueType2 &v) |
template<typename ValueType2, typename ValueType3>
requires ( isAssignableTo<ValueType2, typename ArrayPolicyType::value_type>() && isAssignableTo<ValueType3, typename ArrayPolicyType::value_type>()) |
| constexpr void | clamp (const ValueType2 &lower_bound, const ValueType3 &upper_bound) |
template<typename ValueType2>
requires (isAssignableTo< BinaryOperationResult<ValueType2, typename ArrayPolicyType::value_type, OpMult>, typename ArrayPolicyType::value_type>()) |
| constexpr void | multiplyByScalar (const ValueType2 &s) |
template<typename ValueType2>
requires (isAssignableTo< BinaryOperationResult<typename ArrayPolicyType::value_type, ValueType2, OpDiv>, typename ArrayPolicyType::value_type>()) |
| constexpr void | divideByScalar (const ValueType2 &s) |
| 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 |
|
| template<typename OtherArray> |
| TFEL_HOST_DEVICE constexpr void | assign (const OtherArray &) noexcept |
| | assign the values of the given array to the values of this array.
|
| template<typename OtherArray> |
| TFEL_HOST_DEVICE constexpr void | addAndAssign (const OtherArray &) noexcept |
| | add the values of the given array to the values of this array.
|
| template<typename OtherArray> |
| TFEL_HOST_DEVICE constexpr void | substractAndAssign (const OtherArray &) noexcept |
| | substract the values of the given array to the values of this array.
|
template<typename ValueType2>
requires ( isAssignableTo< BinaryOperationResult<ValueType2, typename ArrayPolicyType::value_type, OpMult>, typename ArrayPolicyType::value_type>()) |
| TFEL_HOST_DEVICE constexpr void | multiplyByScalar (const ValueType2 &) |
| | multiplication by a scalar
|
template<typename ValueType2>
requires ( isAssignableTo< BinaryOperationResult<typename ArrayPolicyType::value_type, ValueType2, OpDiv>, typename ArrayPolicyType::value_type>()) |
| TFEL_HOST_DEVICE constexpr void | divideByScalar (const ValueType2 &) |
| | division by a scalar
|
template<typename Child, typename ArrayPolicyType>
struct tfel::math::MutableArrayCommonMethods< Child, ArrayPolicyType >
a structure gathering access methods and helper function for arrays.
- Template Parameters
-
| Child | child class |
| ArrayPolicyType | array policy |