CppAD: A C++ Algorithmic Differentiation Package 20110419
identical.hpp File Reference

Check if certain properties is true for any possible AD tape play back. More...

Go to the source code of this file.

Functions

bool IdenticalPar (const float &x)
 return true, used by IdenticalPar(AD<float>).
bool IdenticalPar (const double &x)
 return true, used by IdenticalPar(AD<double>).
template<class Base >
CPPAD_INLINE bool IdenticalPar (const AD< Base > &x)
 Determine if an AD<Base> object is a parameter, and could never have a different value during any tape playback.
bool IdenticalZero (const float &x)
 Check if a float is equal to zero, used by IdenticalZero(AD<float>).
bool IdenticalZero (const double &x)
 Check if a double is equal to zero, used by IdenticalZero(AD<double>).
template<class Base >
CPPAD_INLINE bool IdenticalZero (const AD< Base > &x)
 Determine if an AD<Base> is equal to zero, and must be equal zero during any tape playback.
bool IdenticalOne (const float &x)
 Check if a float is equal to one, used by IdenticalOne(AD<float>).
bool IdenticalOne (const double &x)
 Check if a double is equal to one, used by IdenticalOne(AD<double>).
template<class Base >
CPPAD_INLINE bool IdenticalOne (const AD< Base > &x)
 Determine if an AD<Base> is equal to one, and must be equal one during any tape playback.
bool IdenticalEqualPar (const float &x, const float &y)
 Check if two floats are equal, used by IdenticalEqualPar(AD<float>, AD<float>).
bool IdenticalEqualPar (const double &x, const double &y)
 Check if two doubles are equal, used by IdenticalEqualPar(AD<double>, AD<double>).
template<class Base >
CPPAD_INLINE bool IdenticalEqualPar (const AD< Base > &x, const AD< Base > &y)
 Determine if two AD<Base> objects are equal, and must be equal during any tape playback.

Detailed Description

Check if certain properties is true for any possible AD tape play back.

Definition in file identical.hpp.