CppAD: A C++ Algorithmic Differentiation Package  20171217
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
template<class Base >
CPPAD_INLINE_FRIEND_TEMPLATE_FUNCTION bool CppAD::IdenticalOne ( const AD< Base > &  x)

Determine if an AD<Base> is equal to one, and must be equal one during any tape playback.

xobject that we are checking.
returns true if and only if x is equals one and is identically a parameter CppAD::IdenticalPar.

Definition at line 77 of file identical.hpp.