Base implementation of AggregatedTypeTraits for aggregated types that can be defined as an array. More...
#include <realTraits.hpp>
Public Types | |
using | InnerType = T_InnerType |
See AggregatedTypeTraits. | |
using | Real = T_Real |
See AggregatedTypeTraits. | |
using | Type = T_Type |
See AggregatedTypeTraits. | |
Public Member Functions | |
template<size_t element> | |
inlinestatic Type | adjointOfArrayAccess (Type const &w, InnerType const &v_b) |
template<size_t element> | |
inlinestatic InnerType | adjointOfConstructor (Type const &w, Type const &w_b) |
template<size_t element> | |
inlinestatic InnerType & | arrayAccess (Type &w) |
template<size_t element> | |
inlinestatic InnerType const & | arrayAccess (Type const &w) |
inlinestatic Type | arrayConstructor (InnerType const *v) |
Static Public Attributes | |
static int constexpr | Elements = T_Elements |
See AggregatedTypeTraits. | |
Base implementation of AggregatedTypeTraits for aggregated types that can be defined as an array.
|
inline |
Implementation of the adjoint array access. See arrayAccess for the equation definition. The adjoint is defined as
|
inline |
Adjoint implementation of element-wise construction, that is, T is our aggregated type and the construction is defined as w = T(v_0, v_1, ..., v_{N-1}) where N is the number of elements. Then this function needs to implement the adjoint formulation of this construction, which is defined as
|
inline |
Implementation of the array access, which is defined as
|
inline |
Implementation of the array access, which is defined as
|
inline |
Array construction of the aggregated type. It is defined as