CoDiPack  3.1.2
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
VectorNormOperation< T > Struct Template Reference

[Operation implementation] More...

Inheritance diagram for VectorNormOperation< T >:

Static Public Member Functions

static CODI_INLINE Vector4 gradient (Vector4 const &v, Number const &result)
 Gradient with respect to v.
static CODI_INLINE Number primal (Vector4 const &v)
 Primal evaluation.
Static Public Member Functions inherited from codi::UnaryJacobianOperation< Number, VectorNormOperation< T > >
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< Number, VectorNormOperation< T > >
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< Number >
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)

Additional Inherited Members

Public Types inherited from codi::UnaryJacobianOperation< Number, VectorNormOperation< T > >
using Impl
 See UnaryOperation.
using Real
 See UnaryJacobianOperation.
Public Types inherited from codi::UnaryOperation< Number, VectorNormOperation< T > >
using Impl
 See UnaryOperation.
using Real
 See UnaryOperation.
Public Types inherited from codi::ComputeOperation< Number >
using Real
 See ComputeOperation.

Detailed Description

template<typename T>
struct VectorNormOperation< T >

[Operation implementation]

[Member operation implementation]


The documentation for this struct was generated from the following file:
  • documentation/tutorials/Tutorial_07_Aggregated_type_implementation.cpp