CppAD: A C++ Algorithmic Differentiation Package
20130102
|
#define CPPAD_COND_EXP_BASE_REL | ( | Type, | |
Rel, | |||
Op | |||
) |
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 175 of file base_cond_exp.hpp.