CppAD: A C++ Algorithmic Differentiation Package
20130102
|
CondExp operations that aid in meeting Base type requirements. More...
Go to the source code of this file.
Defines | |
#define | CPPAD_COND_EXP_BASE_REL(Type, Rel, Op) |
This macro defines the operation. | |
#define | CPPAD_COND_EXP_REL(Type) |
The macro defines the operations. | |
Functions | |
template<class CompareType , class ResultType > | |
ResultType | CondExpTemplate (enum CompareOp cop, const CompareType &left, const CompareType &right, const ResultType &exp_if_true, const ResultType &exp_if_false) |
Template function to implement Conditional Expressions for simple types that have comparision operators. |
CondExp operations that aid in meeting Base type requirements.
Definition in file base_cond_exp.hpp.