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

[Vector4 specializations] More...

Inheritance diagram for ScalarVectorMultiplicationOperation< T >:

Static Public Member Functions

static CODI_INLINE Vector4 gradientA (Number const &s, Vector4 const &v, Vector4 const &result)
 Gradient with respect to s.
static CODI_INLINE Number gradientB (Number const &s, Vector4 const &v, Vector4 const &result)
 Gradient with respect to v.
static CODI_INLINE Vector4 primal (Number const &s, Vector4 const &v)
 Primal evaluation.
Static Public Member Functions inherited from codi::BinaryJacobianOperation< Vector4, ScalarVectorMultiplicationOperation< T > >
static inlineArgA applyAdjointArgA (Adjoint const &adjoint, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineArgB applyAdjointArgB (Adjoint const &adjoint, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyTangentArgA (Tangent const &tangent, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyTangentArgB (Tangent const &tangent, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto gradientA (ArgA const &argA, ArgB const &argB, Real const &result)
 Compute $ \frac{\d f}{\d a} $.
static inlineauto gradientB (ArgA const &argA, ArgB const &argB, Real const &result)
 Compute $ \frac{\d f}{\d b} $.
static inlineReal primal (ArgA const &argA, ArgB const &argB)
Static Public Member Functions inherited from codi::BinaryOperation< Vector4, ScalarVectorMultiplicationOperation< T > >
static inlineauto applyAdjoint (Adjoint const &adjoint, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyAdjointArgA (Adjoint const &adjoint, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyAdjointArgB (Adjoint const &adjoint, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyTangent (Tangent const &tangent, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyTangentArgA (Tangent const &tangent, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineauto applyTangentArgB (Tangent const &tangent, Real const &result, ArgA const &argA, ArgB const &argB)
static inlineReal primal (ArgA const &argA, ArgB const &argB)
Static Public Member Functions inherited from codi::ComputeOperation< Vector4 >
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::BinaryJacobianOperation< Vector4, ScalarVectorMultiplicationOperation< T > >
using Impl
 See BinaryJacobianOperation.
using Real
 See BinaryJacobianOperation.
Public Types inherited from codi::BinaryOperation< Vector4, ScalarVectorMultiplicationOperation< T > >
using Impl
 See BinaryOperation.
using Real
 See BinaryOperation.
Public Types inherited from codi::ComputeOperation< Vector4 >
using Real
 See ComputeOperation.

Detailed Description

template<typename T>
struct ScalarVectorMultiplicationOperation< T >

[Vector4 specializations]

[Operation implementation] Operation for scalar * vector.


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