#include <stdComplex.hpp>

Public Member Functions | |
| inlinecomplex (complex const &value) | |
| < Use Base constructors. | |
| inlineActiveComplex & | operator= (ActiveComplex const &arg) |
| Assign operation for copy operations. | |
| inlineImpl & | operator= (AggregatedActiveType const &expr) |
| < Use Base constructors. | |
| inlinecomplex & | operator= (complex const &value) |
| < Use Base assign operators. | |
| inlineActiveComplex & | operator= (ExpressionInterface< InnerReal, ArgR > const &argR) |
| Assign operation for the inner type of the complex number. | |
| inlineImpl & | operator= (ExpressionInterface< Real, Expr > const &expr) |
| < Use Base constructors. | |
| inlineActiveComplex & | operator= (PassiveInnerReal const &argR) |
| Assign operation for the inner passive type. | |
| inlineImpl & | operator= (PassiveReal const &expr) |
| < Use Base constructors. | |
| inline | ~complex ()=default |
| Destructor. | |
Public Member Functions inherited from codi::ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > | |
| void | imag (ExpressionInterface< InnerReal, Arg > const &arg) |
| Update the imaginary part of the complex number. | |
| void | imag (InnerReal const &arg) |
| Update the imaginary part of the complex number. | |
| inlineActiveComplex (ActiveComplex const &arg) | |
| < Use complex operator /= | |
| inlineActiveComplex (ExpressionInterface< InnerReal, ArgR > const &argR) | |
| Constructor. | |
| inlineActiveComplex (ExpressionInterface< InnerReal, ArgR > const &argR, ExpressionInterface< InnerReal, ArgI > const &argI) | |
| Constructor. | |
| inlineActiveComplex (ExpressionInterface< InnerReal, ArgR > const &argR, PassiveInnerReal const &argI) | |
| Constructor. | |
| inlineActiveComplex (PassiveInnerReal const &argR) | |
| Constructor. | |
| inlineActiveComplex (PassiveInnerReal const &argR, ExpressionInterface< InnerReal, ArgI > const &argI) | |
| Constructor. | |
| inlineActiveComplex (PassiveInnerReal const &argR, PassiveInnerReal const &argI) | |
| Constructor. | |
| inlineImpl & | operator*= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use complex operator -= | |
| inlineImpl & | operator*= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use complex operator -= | |
| inlineImpl & | operator*= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator *= | |
| inlineImpl & | operator*= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator *= | |
| inlineImpl & | operator*= (PassiveReal const &rhs) |
| < Use complex operator -= | |
| inlineImpl & | operator*= (PassiveReal const &rhs) |
| < Use complex operator -= | |
| inlineImpl & | operator+= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use Base assign operators. | |
| inlineImpl & | operator+= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use Base assign operators. | |
| inlineImpl & | operator+= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator += | |
| inlineImpl & | operator+= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator += | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| < Use Base assign operators. | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| < Use Base assign operators. | |
| inlineImpl & | operator-= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use complex operator += | |
| inlineImpl & | operator-= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use complex operator += | |
| inlineImpl & | operator-= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator -= | |
| inlineImpl & | operator-= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator -= | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| < Use complex operator += | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| < Use complex operator += | |
| inlineImpl & | operator/= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use complex operator *= | |
| inlineImpl & | operator/= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use complex operator *= | |
| inlineImpl & | operator/= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator /= | |
| inlineImpl & | operator/= (ExpressionInterface< Real, Rhs > const &rhs) |
| < Use real operator /= | |
| inlineImpl & | operator/= (PassiveReal const &rhs) |
| < Use complex operator *= | |
| inlineImpl & | operator/= (PassiveReal const &rhs) |
| < Use complex operator *= | |
| inlineActiveComplex & | operator= (ActiveComplex const &arg) |
| Assign operation for copy operations. | |
| inlineImpl & | operator= (AggregatedActiveType const &expr) |
| < Use Base constructors. | |
| inlineImpl & | operator= (AggregatedActiveType const &expr) |
| < Use Base constructors. | |
| inlineActiveComplex & | operator= (ExpressionInterface< InnerReal, ArgR > const &argR) |
| Assign operation for the inner type of the complex number. | |
| inlineImpl & | operator= (ExpressionInterface< Real, Expr > const &expr) |
| < Use Base constructors. | |
| inlineImpl & | operator= (ExpressionInterface< Real, Expr > const &expr) |
| < Use Base constructors. | |
| inlineActiveComplex & | operator= (PassiveInnerReal const &argR) |
| Assign operation for the inner passive type. | |
| inlineImpl & | operator= (PassiveReal const &expr) |
| < Use Base constructors. | |
| inlineImpl & | operator= (PassiveReal const &expr) |
| < Use Base constructors. | |
| void | real (ExpressionInterface< InnerReal, Arg > const &arg) |
| Update the real part of the complex number. | |
| void | real (InnerReal const &arg) |
| Update the real part of the complex number. | |
| inline | ~ActiveComplex ()=default |
| Destructor. | |
Public Member Functions inherited from codi::AggregatedActiveType< std::complex< codi::ActiveType< T_Tape >::Real >, codi::ActiveType< T_Tape >, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| inlineAggregatedActiveType (AggregatedActiveType const &expr) | |
| Constructor. | |
| inlineAggregatedActiveType (ExpressionInterface< Real, Expr > const &expr) | |
| Constructor. | |
| inlineAggregatedActiveType (PassiveReal const &expr) | |
| Constructor. | |
| inlineImpl & | operator= (AggregatedActiveType const &expr) |
| Assign operation. | |
| inlineImpl & | operator= (ExpressionInterface< Real, Expr > const &expr) |
| Assign operation. | |
| inlineImpl & | operator= (PassiveReal const &expr) |
| Assign operation. | |
| inline | ~AggregatedActiveType ()=default |
| < Use base constructors. | |
Public Member Functions inherited from codi::AggregatedActiveTypeBase< std::complex< codi::ActiveType< T_Tape >::Real >, codi::ActiveType< T_Tape >, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > >, false > | |
| inlineInnerReal | applyAdjoint (Real const &adjoint) const |
| inlineReal | applyTangent (InnerReal const &tangent) const |
| 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< std::complex< codi::ActiveType< T_Tape >::Real >, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| 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. | |
| inlineauto | applyTangent (Tangent const &tangent) const |
| inlineauto | applyAdjoint (Adjoint const &adjoint) const |
Public Member Functions inherited from codi::NodeInterface< ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| inlineImpl const & | cast () const |
| Cast to the implementation. | |
| char const & | getLink () const |
| an expression. | |
Public Member Functions inherited from codi::AssignmentOperators< codi::ActiveType< T_Tape >::Real, false, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| inlineImpl & | operator*= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator *= for expressions. | |
| inlineImpl & | operator*= (PassiveReal const &rhs) |
| Operator *= for passive values. | |
| inlineImpl & | operator+= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator += for expressions. | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| Operator += for passive values. | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| Operator += for passive values. | |
| inlineImpl & | operator-= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator -= for expressions. | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| Operator -= for passive values. | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| Operator -= for passive values. | |
| inlineImpl & | operator/= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator /= for expressions. | |
| inlineImpl & | operator/= (PassiveReal const &rhs) |
| Operator /= for passive values. | |
Public Member Functions inherited from codi::AssignmentOperatorsPassiveJacobianOptimization< codi::ActiveType< T_Tape >::Real, T_JacobianOptimization, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| Operator += for passive values. | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| Operator -= for passive values. | |
Public Member Functions inherited from codi::AssignmentOperators< std::complex< codi::ActiveType< T_Tape >::Real >, false, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| inlineImpl & | operator*= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator *= for expressions. | |
| inlineImpl & | operator*= (PassiveReal const &rhs) |
| Operator *= for passive values. | |
| inlineImpl & | operator+= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator += for expressions. | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| Operator += for passive values. | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| Operator += for passive values. | |
| inlineImpl & | operator-= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator -= for expressions. | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| Operator -= for passive values. | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| Operator -= for passive values. | |
| inlineImpl & | operator/= (ExpressionInterface< Real, Rhs > const &rhs) |
| Operator /= for expressions. | |
| inlineImpl & | operator/= (PassiveReal const &rhs) |
| Operator /= for passive values. | |
Public Member Functions inherited from codi::AssignmentOperatorsPassiveJacobianOptimization< std::complex< codi::ActiveType< T_Tape >::Real >, T_JacobianOptimization, ResolveSelf< complex< codi::ActiveType< T_Tape > >, ActiveComplex< codi::ActiveType< T_Tape >, complex< codi::ActiveType< T_Tape > > > > > | |
| inlineImpl & | operator+= (PassiveReal const &rhs) |
| Operator += for passive values. | |
| inlineImpl & | operator-= (PassiveReal const &rhs) |
| Operator -= for passive values. | |
Specialization of std::complex for CoDiPack types.
The full interface is already implemented in ActiveComplex. This implementation just forwards the necessary operators.
| T_Tape | The tape that manages all expressions created with this type. |
|
inline |
< Use Base constructors.
Constructor.
|
inline |
< Use Base assign operators.
Assign operator.