CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::TapeTraits Namespace Reference

Classes

struct  IsForwardTape
 If the tape inherits from ForwardEvaluation. More...
 
struct  IsJacobianTape
 If the tape inherits from JacobianBaseTape. More...
 
struct  IsPrimalValueTape
 If the tape inherits from PrimalValueBaseTape. More...
 
struct  IsReverseTape
 

Typedefs

Detection of specific real value types
template<typename Tape >
using EnableIfForwardTape = typename std::enable_if<IsForwardTape<Tape>::value>::type
 Enable if wrapper for IsForwardTape.
 
template<typename Tape >
using EnableIfPrimalValueTape = typename std::enable_if<IsPrimalValueTape<Tape>::value>::type
 Enable if wrapper for IsPrimalValueTape.
 
template<typename Tape >
using EnableIfJacobianTape = typename std::enable_if<IsJacobianTape<Tape>::value>::type
 Enable if wrapper for IsJacobianTape.
 
template<typename Tape >
using EnableIfReverseTape = typename std::enable_if<IsReverseTape<Tape>::value>::type
 Enable if wrapper for IsReverseTape.
 

Detailed Description

Traits for everything that can be a CoDiPack tape usually the template argument of codi::ActiveType. Possible types are codi::JacobianLinearTape, codi::ForwardEvaluation, codi::PrimalValueReuseTape, etc..