[Member operation implementation] More...
Public Types | |
using | Base = codi::AggregatedActiveType<Vector4, ActiveNumber, ActiveVector4> |
Base abbreviation. | |
![]() | |
using | Base |
Abbreviation for base class. | |
using | Impl |
See AggregatedActiveType. | |
using | InnerActiveType |
See AggregatedActiveType. | |
using | PassiveReal |
Passive value type of the real. | |
using | Real |
See AggregatedActiveType. | |
using | Traits |
The traits for the aggregated type. | |
![]() | |
using | ADLogic = Tape |
AD logic that governs the expression. Needs to be the same for all inputs of the expression. | |
using | Impl = T_Impl |
See AggregatedActiveTypeBase. | |
using | InnerActiveType |
See AggregatedActiveTypeBase. | |
using | InnerIdentifier = typename Tape::Identifier |
Identifier of the underlying tape. | |
using | InnerReal = typename Traits::InnerType |
Inner real type of the active type. | |
using | Real = T_Real |
See AggregatedActiveTypeBase. | |
using | StoreAs = typename std::conditional<isStatic, Impl, Impl const&>::type |
Implementation of ExpressionInterface. | |
using | Tape = typename InnerActiveType::Tape |
The tape of the inner active type. | |
using | Traits = RealTraits::AggregatedTypeTraits<Real> |
The traits for the aggregated type. | |
![]() | |
using | ADLogic = char |
AD logic that governs the expression. Needs to be the same for all inputs of the expression. | |
using | Impl = T_Impl |
See ExpressionInterface. | |
using | Real = T_Real |
See ExpressionInterface. | |
using | StoreAs = ExpressionInterface |
Defines how this expression is stored in an expression tree. | |
![]() | |
using | Impl = T_Impl |
See NodeInterface. | |
![]() | |
using | Impl = T_Impl |
See ExpressionMemberOperations. | |
using | Real = T_Real |
See ExpressionMemberOperations. | |
Public Member Functions | |
template<typename Arg1, typename Arg2, typename Arg3> | |
ActiveVector4 (codi::ExpressionInterface< Number, Arg1 > const &arg1, codi::ExpressionInterface< Number, Arg2 > const &arg2, codi::ExpressionInterface< Number, Arg3 > const &arg3, codi::ExpressionInterface< Number, Arg3 > const &arg4) | |
Constructor with 4 arguments. | |
ActiveNumber & | operator[] (size_t index) |
Array access operation. | |
![]() | |
inlineAggregatedActiveType (AggregatedActiveType const &expr) | |
Constructor. | |
inlineAggregatedActiveType (AggregatedActiveType const &expr) | |
Constructor. | |
inlineAggregatedActiveType (ExpressionInterface< Real, Expr > const &expr) | |
Constructor. | |
inlineAggregatedActiveType (ExpressionInterface< Real, Expr > const &expr) | |
Constructor. | |
inlineAggregatedActiveType (PassiveReal const &expr) | |
Constructor. | |
inlineAggregatedActiveType (PassiveReal const &expr) | |
Constructor. | |
inlineImpl & | operator= (AggregatedActiveType const &expr) |
Assign operation. | |
inlineImpl & | operator= (AggregatedActiveType const &expr) |
Assign operation. | |
inlineImpl & | operator= (ExpressionInterface< Real, Expr > const &expr) |
Assign operation. | |
inlineImpl & | operator= (ExpressionInterface< Real, Expr > const &expr) |
Assign operation. | |
inlineImpl & | operator= (PassiveReal const &expr) |
Assign operation. | |
inlineImpl & | operator= (PassiveReal const &expr) |
Assign operation. | |
inline | ~AggregatedActiveType ()=default |
< Use base constructors. | |
inline | ~AggregatedActiveType ()=default |
< Use base constructors. | |
![]() | |
template<size_t argNumber> | |
inlineInnerReal | applyAdjoint (Real const &adjoint) const |
template<size_t argNumber> | |
inlineReal | applyTangent (InnerReal const &tangent) const |
template<size_t argNumber> | |
inlineInnerActiveType const & | getLink () const |
an expression. | |
inlineReal const | getValue () const |
Compute the primal value that is usually evaluated by the statement/expression. | |
inlineAggregatedActiveTypeBase ()=default | |
Constructor. | |
inlineAggregatedActiveTypeBase (AggregatedActiveTypeBase const &)=default | |
Constructor. | |
inline | ~AggregatedActiveTypeBase ()=default |
Destructor. | |
![]() | |
inlineImpl const & | cast () const |
Cast to the implementation. | |
ExpressionInterface ()=default | |
Constructor. | |
ExpressionInterface (ExpressionInterface const &)=default | |
Constructor. | |
inlineReal const | getValue () const |
Compute the primal value that is usually evaluated by the statement/expression. | |
template<size_t argNumber, typename Tangent> | |
inlineauto | applyTangent (Tangent const &tangent) const |
template<size_t argNumber, typename Adjoint> | |
inlineauto | applyAdjoint (Adjoint const &adjoint) const |
![]() | |
inlineImpl const & | cast () const |
Cast to the implementation. | |
template<size_t argNumber> | |
char const & | getLink () const |
an expression. | |
Additional Inherited Members | |
![]() | |
static inlinestd::string | getMathRep () |
Get the math symbol of the operation. E.g. + for operators and pow() for functions. | |
![]() | |
InnerActiveType | values [Elements] |
Array representation. | |
![]() | |
static int constexpr | Elements = Traits::Elements |
The number of elements in the aggregated type. | |
static bool constexpr | isStatic = T_isStatic |
See AggregatedActiveTypeBase. | |
static size_t constexpr | LinkCount = Elements |
Implementation of NodeInterface. | |
static size_t constexpr | LinkCount = false |
handle the expression as a leaf node. | |
![]() | |
inlinevoid | store (ExpressionInterface< Real, Rhs > const &rhs, EventHints::Statement const &eventType) |
Has to be called by an AD variable every time it is assigned. | |
inlinevoid | store (ExpressionInterface< Real, Rhs > const &rhs, EventHints::Statement const &eventType) |
Has to be called by an AD variable every time it is assigned. | |
![]() | |
inlineImpl & | cast () |
Cast to implementation. | |
inlineImpl const & | cast () const |
Cast to implementation. | |
![]() | |
inlineImpl const & | cast () const |
Cast to implementation. | |
[Member operation implementation]
[ActiveVector4 definition]