CppAD: A C++ Algorithmic Differentiation Package  20130918
#define CPPAD_COND_EXP_BASE_REL (   Type,
  Rel,
  Op 
)
Value:
inline Type CondExp##Rel(                        \
          const Type& left      ,                     \
          const Type& right     ,                     \
          const Type& exp_if_true  ,                  \
          const Type& exp_if_false )                  \
     {    return CondExpOp(Op, left, right, exp_if_true, exp_if_false); \
     }

This macro defines the operation.

	CondExpRel(left, right, exp_if_true, exp_if_false)

The argument Type is the Base type for this base require operation. The argument Rel is one of Lt, Le, Eq, Ge, Gt. The argument Op is the corresponding CompareOp value.

Definition at line 173 of file base_cond_exp.hpp.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines