CppAD: A C++ Algorithmic Differentiation Package  20130102
identical.hpp

Files

file  identical.hpp
 

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


Functions

template<class Base >
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
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.
template<class Base >
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
bool 
IdenticalZero (const AD< Base > &x)
 Determine if an AD<Base> is equal to zero, and must be equal zero during any tape playback.
template<class Base >
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
bool 
IdenticalOne (const AD< Base > &x)
 Determine if an AD<Base> is equal to one, and must be equal one during any tape playback.
template<class Base >
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION
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.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines