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 |
See RealTraits::IsTotalZero. | |
Static Public Member Functions | |
static bool | isTotalZero (Type const &v) |
Checks if the values are completely zero. | |
Function for checking if the value of the type is completely zero.
T_Type | The type of the real value. Tests whether both value and gradient are zero. |
using codi::RealTraits::IsTotalZero< T_Type, TapeTraits::EnableIfForwardTape< typename T_Type::Tape > >::Real = typename Type::Real |
using codi::RealTraits::IsTotalZero< T_Type, TapeTraits::EnableIfForwardTape< typename T_Type::Tape > >::Type |
|
inlinestatic |
Checks if the values are completely zero.