CppAD: A C++ Algorithmic Differentiation Package 20110419
bool IdenticalOne ( const float &  x) [inline]

Check if a float is equal to one, used by IdenticalOne(AD<float>).

Parameters:
xvalue we are checking.
Returns:
returns true iff the argument equals one.

Definition at line 119 of file identical.hpp.