Template Struct if_then_else_impl< CppAD::AD< Scalar >, CppAD::AD< Scalar >, ThenType, ElseType >

Struct Documentation

template<typename Scalar, typename ThenType, typename ElseType>
struct if_then_else_impl<CppAD::AD<Scalar>, CppAD::AD<Scalar>, ThenType, ElseType>

Public Types

typedef internal::traits<if_then_else_impl>::ReturnType ReturnType

Public Static Functions

static inline ReturnType run(const ComparisonOperators op, const CppAD::AD<Scalar> &lhs_value, const CppAD::AD<Scalar> &rhs_value, const ThenType &then_value, const ElseType &else_value)