CppAD: A C++ Algorithmic Differentiation Package 20110419
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.

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

Definition at line 146 of file identical.hpp.