Prev Next LessThanOrZero

Check if a Value is Less Than Or Equal Zero

Syntax
inline bool LessThanOrZero(const Type &x)

Description
If Type is AD<Base> for some Base, x is less than or equal zero if and only if x.value_ is less than zero. If Type is not AD<Base> for some Base, x is less than or equal zero if and only if
     
x <= 0.

Input File: cppad/local/ordered.hpp