CoDiPack  3.0.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::OperationComplexProj< T_ComplexReal > Struct Template Reference

UnaryJacobianOperation implementation for complex proj. More...

#include <allOperators.hpp>

Inheritance diagram for codi::OperationComplexProj< T_ComplexReal >:

Public Types

using ComplexReal = T_ComplexReal
 See UnaryJacobianOperation.
 
using Jacobian = double
 See UnaryJacobianOperation.
 
- Public Types inherited from codi::UnaryJacobianOperation< T_ComplexReal, OperationComplexProj< T_ComplexReal > >
using Impl
 See UnaryOperation.
 
using Real
 See UnaryJacobianOperation.
 
- Public Types inherited from codi::UnaryOperation< T_ComplexReal, OperationComplexProj< T_ComplexReal > >
using Impl
 See UnaryOperation.
 
using Real
 See UnaryOperation.
 
- Public Types inherited from codi::ComputeOperation< T_ComplexReal >
using Real
 See ComputeOperation.
 

Static Public Member Functions

static inlinestd::string getMathRep ()
 Get the math symbol of the operation. E.g. + for operators and pow() for functions.
 
template<typename Arg>
static inlineJacobian gradient (Arg const &argument, ComplexReal const &result)
 Compute $ \frac{\d f}{\d x} $.
 
template<typename Arg>
static inlineComplexReal primal (Arg const &argument)
 
- Static Public Member Functions inherited from codi::UnaryJacobianOperation< T_ComplexReal, OperationComplexProj< T_ComplexReal > >
static inlineArg applyAdjointArg (Adjoint const &adjoint, Real const &result, Arg const &arg)
 
static inlineauto applyTangentArg (Tangent const &tangent, Real const &result, Arg const &arg)
 
static inlineauto gradient (Arg const &arg, Real const &result)
 Compute $ \frac{\d f}{\d x} $.
 
static inlineReal primal (Arg const &arg)
 
- Static Public Member Functions inherited from codi::UnaryOperation< T_ComplexReal, OperationComplexProj< T_ComplexReal > >
static inlineauto applyAdjoint (Adjoint const &adjoint, Real const &result, Arg const &arg)
 
static inlineauto applyAdjointArg (Adjoint const &adjoint, Real const &result, Arg const &arg)
 
static inlineauto applyTangent (Tangent const &tangent, Real const &result, Arg const &arg)
 
static inlineauto applyTangentArg (Tangent const &tangent, Real const &result, Arg const &arg)
 
static inlineReal primal (Arg const &arg)
 
- Static Public Member Functions inherited from codi::ComputeOperation< T_ComplexReal >
static inlineauto applyAdjoint (Adjoint const &adjoint, Real const &result, Args const &... args)
 
static inlineauto applyTangent (Tangent const &tangent, Real const &result, Args const &... args)
 
static inlinestd::string getMathRep ()
 Get the math symbol of the operation. E.g. + for operators and pow() for functions.
 
static inlineReal primal (Args const &... args)
 

Detailed Description

template<typename T_ComplexReal>
struct codi::OperationComplexProj< T_ComplexReal >

UnaryJacobianOperation implementation for complex proj.

Member Function Documentation

◆ getMathRep()

template<typename T_ComplexReal>
static inlinestd::string codi::OperationComplexProj< T_ComplexReal >::getMathRep ( )
inlinestatic

Get the math symbol of the operation. E.g. + for operators and pow() for functions.

◆ gradient()

template<typename T_ComplexReal>
template<typename Arg>
static inlineJacobian codi::OperationComplexProj< T_ComplexReal >::gradient ( Arg const & argument,
ComplexReal const & result )
inlinestatic

Compute $ \frac{\d f}{\d x} $.

◆ primal()

template<typename T_ComplexReal>
template<typename Arg>
static inlineComplexReal codi::OperationComplexProj< T_ComplexReal >::primal ( Arg const & argument)
inlinestatic

Compute the primal value from the arguments. E.g. evaluates $ w = f(x)$

The argument types are the types of the result of a getValue call on the expression.


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