Operation for vector + vector. More...
Static Public Member Functions | |
static CODI_INLINE Number | gradientA (Vector4 const &v1, Vector4 const &v2, Vector4 const &result) |
Gradient with respect to v1. | |
static CODI_INLINE Number | gradientB (Vector4 const &v1, Vector4 const &v2, Vector4 const &result) |
Gradient with respect to v2. | |
static CODI_INLINE Vector4 | primal (Vector4 const &v1, Vector4 const &v2) |
Primal evaluation. | |
![]() | |
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 ![]() | |
static inlineauto | gradientB (ArgA const &argA, ArgB const &argB, Real const &result) |
Compute ![]() | |
static inlineReal | primal (ArgA const &argA, ArgB const &argB) |
![]() | |
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 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 | |
![]() | |
using | Impl |
See BinaryJacobianOperation. | |
using | Real |
See BinaryJacobianOperation. | |
![]() | |
using | Impl |
See BinaryOperation. | |
using | Real |
See BinaryOperation. | |
![]() | |
using | Real |
See ComputeOperation. | |
Operation for vector + vector.