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::GreaterThanZero ( const AD< Base > &  x)

Check if an AD<Base> is greater than zero.

Parameters
xvalue we are checking.
Returns
returns true iff the x is greater than zero.

Definition at line 37 of file ordered.hpp.