CppAD: A C++ Algorithmic Differentiation Package 20110419
ordered.hpp File Reference

Check and AD values ordering properties relative to zero. More...

Go to the source code of this file.

Functions

bool GreaterThanZero (const float &x)
 Check if a float is greater than zero, used by GreaterThanZero(AD<float>).
bool GreaterThanZero (const double &x)
 Check if a double is greater than zero, used by GreaterThanZero(AD<double>).
template<class Base >
CPPAD_INLINE bool GreaterThanZero (const AD< Base > &x)
 Check if an AD<Base> is greater than zero.
bool GreaterThanOrZero (const float &x)
 Check if a float is greater than or equal zero, used by GreaterThanOrZero(AD<float>).
bool GreaterThanOrZero (const double &x)
 Check if a double is greater than or equal zero, used by GreaterThanOrZero(AD<double>).
template<class Base >
CPPAD_INLINE bool GreaterThanOrZero (const AD< Base > &x)
 Check if an AD<Base> is greater than or equal zero.
bool LessThanZero (const float &x)
 Check if a float is less than zero, used by LessThanZero(AD<float>).
bool LessThanZero (const double &x)
 Check if a double is less than zero, used by LessThanZero(AD<double>).
template<class Base >
CPPAD_INLINE bool LessThanZero (const AD< Base > &x)
 Check if an AD<Base> is less than zero.
bool LessThanOrZero (const float &x)
 Check if a float is less than or equal zero, used by LessThanOrZero(AD<float>).
bool LessThanOrZero (const double &x)
 Check if a double is less than or equal zero, used by LessThanOrZero(AD<double>).
template<class Base >
CPPAD_INLINE bool LessThanOrZero (const AD< Base > &x)
 Check if an AD<Base> is less than or equal zero.

Detailed Description

Check and AD values ordering properties relative to zero.

Definition in file ordered.hpp.