CoDiPack  2.2.0
A Code Differentiation Package
SciComp TU Kaiserslautern
Loading...
Searching...
No Matches
codi::RealTraits::IsTotalZero< T_Type, TapeTraits::EnableIfForwardTape< typename T_Type::Tape > > Struct Template Reference

Function for checking if the value of the type is completely zero.
More...

#include <forwardEvaluation.hpp>

Public Types

using Real = typename Type::Real
 
using Type = T_Type
 See RealTraits::IsTotalZero.
 

Static Public Member Functions

static bool isTotalZero (Type const &v)
 Checks if the values are completely zero.
 

Detailed Description

template<typename T_Type>
struct codi::RealTraits::IsTotalZero< T_Type, TapeTraits::EnableIfForwardTape< typename T_Type::Tape > >

Function for checking if the value of the type is completely zero.

Template Parameters
T_TypeThe type of the real value.
Tests whether both value and gradient are zero.

Member Typedef Documentation

◆ Real

template<typename T_Type >
using codi::RealTraits::IsTotalZero< T_Type, TapeTraits::EnableIfForwardTape< typename T_Type::Tape > >::Real = typename Type::Real

Member Function Documentation

◆ isTotalZero()

template<typename T_Type >
static bool codi::RealTraits::IsTotalZero< T_Type, TapeTraits::EnableIfForwardTape< typename T_Type::Tape > >::isTotalZero ( Type const &  v)
inlinestatic

Checks if the values are completely zero.


The documentation for this struct was generated from the following file: