CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
ActiveVector4 Struct Reference

[Member operation implementation] More...

Inheritance diagram for ActiveVector4:

Public Types

using Base = codi::AggregatedActiveType<Vector4, ActiveNumber, ActiveVector4>
 Base abbreviation.
 
- Public Types inherited from codi::AggregatedActiveType< Vector4, ActiveNumber, ActiveVector4 >
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.
 
- Public Types inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, T_Impl, T_isStatic >
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.
 
- Public Types inherited from codi::ExpressionInterface< T_Real, T_Impl >
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.
 
- Public Types inherited from codi::NodeInterface< T_Impl >
using Impl = T_Impl
 See NodeInterface.
 
- Public Types inherited from codi::ExpressionMemberOperations< T_Real, T_Impl, typename >
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.
 
ActiveNumberoperator[] (size_t index)
 Array access operation.
 
- Public Member Functions inherited from codi::AggregatedActiveType< Vector4, ActiveNumber, ActiveVector4 >
 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.
 
- Public Member Functions inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, T_Impl, T_isStatic >
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.
 
- Public Member Functions inherited from codi::ExpressionInterface< T_Real, T_Impl >
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
 
- Public Member Functions inherited from codi::NodeInterface< T_Impl >
inlineImpl const & cast () const
 Cast to the implementation.
 
template<size_t argNumber>
char const & getLink () const
 an expression.
 

Additional Inherited Members

- Static Public Member Functions inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, T_Impl, T_isStatic >
static inlinestd::string getMathRep ()
 Get the math symbol of the operation. E.g. + for operators and pow() for functions.
 
- Public Attributes inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, T_Impl, T_isStatic >
InnerActiveType values [Elements]
 Array representation.
 
- Static Public Attributes inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, T_Impl, T_isStatic >
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.
 
- Protected Member Functions inherited from codi::AggregatedActiveType< Vector4, ActiveNumber, ActiveVector4 >
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.
 
- Protected Member Functions inherited from codi::AggregatedActiveTypeBase< T_Real, T_InnerActiveType, T_Impl, T_isStatic >
inlineImpl & cast ()
 Cast to implementation.
 
inlineImpl const & cast () const
 Cast to implementation.
 
- Protected Member Functions inherited from codi::ExpressionMemberOperations< T_Real, T_Impl, typename >
inlineImpl const & cast () const
 Cast to implementation.
 

Detailed Description

[Member operation implementation]

[ActiveVector4 definition]


The documentation for this struct was generated from the following file: