Perform the conversion of Outer(Inner) in the adjoint context. Default implementation for Outer == Inner. More...
#include <computationTraits.hpp>
Public Types | |
using | Inner = T_Inner |
See ReduceImpl. | |
using | Outer = T_Outer |
See ReduceImpl. | |
using | Return = int |
Deduced return type. | |
Static Public Member Functions | |
static Return | adjointConversion (Inner const &jacobian) |
Perform the adjoint of Outer(Inner). | |
Perform the conversion of Outer(Inner) in the adjoint context. Default implementation for Outer == Inner.
E.g. for double(std::complex<double>) the conversion returns the real part of the complex number. This is the adjoint of std::complex<double>(double).
Simple specialization can be create with the macro CODI_CREATE_ADJOINT_CONVERSION.
T_Outer | Type into which was converted. |
T_Inner | Type from which was converted. |